Stuart Henderson <[email protected]> wrote: > On 2025/11/28 21:36, stephane Tranchemer wrote: > > Ah, no. > > That's only my copy-pasta that introduced that. > > you need a better terminal and/or editor! > > > > > Then I want to use dhcpd with > > > > > > > > /etc/dhcpd.conf > > > > [...] > > > > option routers 192.168.54.1; > > > > subnet 192.168.54.0 netmask 255.255.255.0 { > > > > range 192.168.54.200 192.168.54.230; > > > > default-lease-time 600; > > > > max-lease-time 7200; > > > > } > > > > > > > > This exact setup was running fine for "subnet 192.168.14.0", but when I > > > > changed to "subnet 192.168.54.0" and tried to restart dhcpd it failed. > > this seems like a case where you might need "shared-network". > > dhcpd(8) has this... > > Some installations have physical networks on which more than one IP subnet > operates. For example, if there is a site-wide requirement that 8-bit > subnet masks be used, but a department with a single physical Ethernet > network expands to the point where it has more than 254 nodes, it may be > necessary to run two 8-bit subnets on the same Ethernet until such time as > a > new physical network can be added. In this case, the subnet declarations > for these two networks may be enclosed in a shared-network declaration.
Fine, so solve that one problem, but then leave the issues of the ARP address for the gateway corresponding to two IP addresses. Anyone trying to use this stuff is praying to have more problems they can't understand.
