stephane Tranchemer <[email protected]> wrote: > Hello, > > I wanted to migrate my subnet from 192.168.14.0/24 to 192.168.54.0/24. > > I used the alias to do so without making interruption, reconfiguring > services and clients little by little. > > the DHCPd was also one of the services, and I hit this wall. > With this trouble I had to keep it for last, and keep the DHCPd setup > against 192.168.14.0/24 until the very end. > > Sure enough, when I rewrote the dhcpd.conf, the hostname.igc0 to > switch to 192.168.54.0/24 and remove the alias then rebooted, > everything just fall in place. > > Admittedly it is not common to do that, having 2 subnets configured on > a same interface, but there is also no explicit interdiction. > Sites like the OpenBSD Handbook (unaffiliated, I hear that) mentions > it too with the warning about route not automatically added for this > aliased subnet. > > Regarding your question I was expecting DHCPd work with this aliased > subnet and provide IP to the clients.
And I wanted a pepsi, but she wouldn't give it to me. I think your migration plan is depending upon something you don't understand the consequences of. Depending on us to document something like this in detail is not reasonable. Maybe I'll start work on a diff which PREVENTS the kernel from letting you configure such a setting.
