https://bugzilla.novell.com/show_bug.cgi?id=733080 https://bugzilla.novell.com/show_bug.cgi?id=733080#c0 Summary: dhcpcd does not default gateway Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rob.verduijn@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 I use a opensuse 12.1 client with a windows 2008 dhcp server. When the dhcp server also sets a static route using option 121 'classless static routes' the default gateway is not set. After removing the static route option 121 the default gateway is set properly. Adding the option 121 again causes the problem to appear again. I've noticed that the variable DHCPGIADDR is set with the gateway ip but not the variable GATEWAYS. in the /var/lib/dhcpcd/dhcpcd-eth0.info file. (see below) For some reason these two seem to be mixed up. I checked the /var/lib/dhcpcd/dhcpcd-eth0.info file and it has the following entries: DHCPGIADDR='192.168.1.254' IPADDR='192.168.1.14' NETMASK='255.255.255.0' NETWORK='192.168.1.0' BROADCAST='192.168.1.255' ROUTES='192.168.3.0,255.255.255.0,192.168.1.252' GATEWAYS='' DNSDOMAIN='survrech.local' DNSSERVERS='192.168.3.192 192.168.3.193' DHCPSID='192.168.3.192' LEASEDFROM='1322489148' LEASETIME='28800' RENEWALTIME='14400' REBINDTIME='25200' INTERFACE='eth0' CLASSID='dhcpcd 3.2.3' CLIENTID='01:00:0f:fe:58:25:7e' DHCPCHADDR='00:0f:fe:58:25:7e' Reproducible: Always Steps to Reproduce: 1. add a static route with option 121 'classless static routes' 2. restart dhcp server if necessary 3. restart dhcp client (to make sure the client does a real network stop and start, I've seen this fail multiple times on 12.1 but that's another issue) Actual Results: the default gateway is not set Expected Results: the default gateway should be set -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.