[Bug 139217] Re: dhcp fails for gateway on different subnet
Aaron Kurtz
a.kurtz at hardsun.net
Sun May 31 06:03:12 BST 2009
Teej, this is definitely still a problem in Jaunty, as /sbin/dhclient-
script has not changed
DHCPREQUEST of 71.130.218.22 on eth0 to 255.255.255.255 port 67
DHCPACK of 71.130.218.22 from 192.168.1.254
SIOCADDRT: No such process
bound to 71.130.218.22 -- renewal in 78774 seconds.
from /tmp/dhclient-script.debug:
Sat May 30 21:53:02 PDT 2009: entering dhclient-enter-hooks.d, dumping variables.
reason='REBOOT'
interface='eth0'
medium=''
alias_ip_address=''
new_ip_address='71.130.218.22'
new_subnet_mask='255.255.0.0'
new_domain_name=''
new_domain_search='hardsun.net.'
new_domain_name_servers='127.0.0.1'
new_routers='151.164.187.111'
new_static_routes=''
root at roseroar:~# route add default dev eth0 gw 151.164.187.111
SIOCADDRT: No such process
If I remove the if,fi for
if [ "$new_subnet_mask" == "255.255.255.255" ]; then
for router in $new_routers; do
route add -host $router dev $interface
done
fi
then I can connect properly.
** Changed in: dhcp3 (Ubuntu)
Status: Incomplete => Confirmed
--
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