chiark / gitweb /
hosts.lisp, distorted.lisp: Fix static/DHCP subnet arrangements.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 31 May 2024 17:36:19 +0000 (18:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 31 May 2024 17:36:19 +0000 (18:36 +0100)
The `unsafe' network was bizarrely named `wired', with the low 32
addresses tagged `unsafe', the next 32 addresses as `dhcp', and the
remaining 64 addresses floating free.  This is obviously daft.

Similarly, the `safe' network is actually split into 12 static addresses
and 20 dynamically allocated addresses, but this is not reflected in the
definitions here.

We can't represent `networks' which aren't described by a netmask, so
split the various ranges into power-of-two portions which add up to the
right regions.  The names aren't super-helpful but do explain what's
going on.


No differences found