Public bug reported: I'm having an issue connecting to my university's WLAN on Feisty. The gateway address and the IP address I receive from the DHCP server are on different subnets and /sbin/dhclient-script is not handling it properly (route add default dev $interface gw $router $metric_arg fails with SIOCADDRT: Network is unreachable). The script should detect this case and add add a route to the gateway before attempting to set the default route.
Here are the relevant variables from /tmp/dhclient-script.debug: Tue Sep 11 14:09:04 CST 2007: entering dhclient-enter-hooks.d, dumping variables. reason='REBOOT' interface='ath0' medium='' alias_ip_address='' new_ip_address='172.18.225.46' new_subnet_mask='255.255.255.128' new_domain_name='usask.ca' new_domain_name_servers='128.233.3.1 128.233.150.126 128.233.119.73' new_routers='128.233.185.62' new_static_routes='' old_ip_address='' old_subnet_mask='' old_domain_name='' old_domain_name_servers='' old_routers='' old_static_routes='' Sorry if my terminology is incorrect. I'm no networking guru. Thanks. ** Affects: dhcp3 (Ubuntu) Importance: Undecided Status: New -- 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 Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs