[Bug 139217] Re: dhcp fails for gateway on different subnet

Rodney Berriman rodney at optimail.com.au
Mon Mar 23 00:11:04 GMT 2009


It still doesn't seem to work on Optus ADSL (Australia), and I think the
reason is that the creation of the host route is conditional on the
netmask:

/sbin/dhclient-script:198: 
   if [ "$new_subnet_mask" == "255.255.255.255" ]; then ...

because the interface is given an IP address with subnet 255.255.255.0, and a gateway address that
is not in this range.

Why not just remove the conditional line?
No harm in (trying to) creating a host route to the gateway, even if it is redundant?

-- 
dhcp fails for gateway on different subnet
https://bugs.launchpad.net/bugs/139217
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list