tags 384271 + wontfix On Tue, Aug 22, 2006 at 11:19:04PM -0400, Graham wrote: > Package: dhcp3-client > Version: 3.0.4-6 > > On my system, dhcp3-client fails to configure the default gateway. > > heartland:/# ifup eth0 > Internet Systems Consortium DHCP Client V3.0.4 > Copyright 2004-2006 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > > Listening on LPF/eth0/00:50:da:83:17:0c > Sending on LPF/eth0/00:50:da:83:17:0c > Sending on Socket/fallback > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 > DHCPOFFER from 192.168.7.1 > DHCPREQUEST on eth0 to 255.255.255.255 port 67 > DHCPACK from 192.168.7.1 > SIOCADDRT: Network is unreachable > bound to 67.43.141.87 -- renewal in 34592 seconds. > heartland:/# > > You can see the "Network is unreachable" error above. > > Here's what the "debug" script says: > > reason='BOUND' > interface='eth0' > medium='' > alias_ip_address='' > new_ip_address='67.43.141.87' > new_subnet_mask='255.0.0.0' > new_domain_name='' > new_domain_name_servers='192.168.7.1' > new_routers='199.212.135.116' > new_static_routes='' > old_ip_address='67.43.141.87' > old_subnet_mask='255.0.0.0' > old_domain_name='' > old_domain_name_servers='192.168.7.1' > old_routers='199.212.135.116' > old_static_routes='' > > I can see why some piece of software thinks this is weird and/or > wrong: the router isn't on the same subnet as the IP that I've been > given. > > To fix the problem I have created a "fix-gateway" script in > dhclient-exit-hooks.d which simply does this: > > route add default eth0 > > This isn't pretty, but it seems to work.
Honestly, I don't consider this a bug. Your networking configuration is invalid. regards Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]