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)
commitcc30fb507626c4893cd87424030ae70a0369eeaf
tree0f7a46ad0aa9e85f256d3139e172d742782b862f
parent325fe4878358be1bc3f3fd50df4a6a9c93aa8331
hosts.lisp, distorted.lisp: Fix static/DHCP subnet arrangements.

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.
distorted.lisp
hosts.lisp