[Bug 459296] New: All DHCP offers rejected

https://bugzilla.novell.com/show_bug.cgi?id=459296 Summary: All DHCP offers rejected Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: q4lw5yj7jbs8dxl@temporaryinbox.com QAContact: qa@suse.de Found By: --- I have just installed 11.1 RC1 on my laptop and was trying to connect it to my local network. When KNetworkManager did not succeed in establishing a connection neither via WiFi nor via cable, I started investigating and found out that Suse rejects all incoming DHCPOFFER packets from the router. The router is a D-LINK DIR-655 and DHCP was working perfectly fine with combination with openSUSE 11.0 on the same laptop and still is working with another 11.0 installation on a different machine in the same network. Therefore I am opening a Suse bug. The router has two modes for its built-in DHCP server. One is the standard, the other is "Always broadcast (DHCP compatibility)" which sends offers as broadcast messages. Suse 11.1 rejects the offer packets in both cases. Here is a /var/log/messages excerpt for the standard mode: Dec 15 20:32:59 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 Dec 15 20:33:00 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 20:33:03 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 Dec 15 20:33:04 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 20:33:09 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 Dec 15 20:33:10 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 20:33:21 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 Dec 15 20:33:22 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 20:33:31 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 Dec 15 20:33:32 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Here is an excerpt from the log in the broadcast/compatibility mode: Dec 15 21:27:32 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 Dec 15 21:27:33 linux-535t kernel: martian source 255.255.255.255 from 192.168.1.1, on dev eth0 Dec 15 21:27:33 linux-535t kernel: ll header: ff:ff:ff:ff:ff:ff:00:1c:f0:f7:74:f1:08:00 Dec 15 21:27:33 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 21:27:34 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 Dec 15 21:27:35 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. Dec 15 21:27:35 linux-535t kernel: martian source 255.255.255.255 from 192.168.1.1, on dev eth0 Dec 15 21:27:35 linux-535t kernel: ll header: ff:ff:ff:ff:ff:ff:00:1c:f0:f7:74:f1:08:00 Dec 15 21:27:36 linux-535t dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 Dec 15 21:27:37 linux-535t kernel: martian source 255.255.255.255 from 192.168.1.1, on dev eth0 Dec 15 21:27:37 linux-535t kernel: ll header: ff:ff:ff:ff:ff:ff:00:1c:f0:f7:74:f1:08:00 Dec 15 21:27:37 linux-535t dhclient: DHCPOFFER from 192.168.1.1: no subnet-mask option. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User q4lw5yj7jbs8dxl@temporaryinbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c1 --- Comment #1 from John Doe <q4lw5yj7jbs8dxl@temporaryinbox.com> 2008-12-15 20:17:08 MST --- There seem to be two 'request' parameters in "/etc/dhclient.conf" which are not known by the 11.1's dhclient or not correctly specified. They are "network-number" and "ntp-servers". dhclient complains about them in /var/log/messages when the nm-dhclient script is run. Once I remove these two arguments, the connection is successfully created. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c2 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aorlovskyy@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mt@novell.com --- Comment #2 from Alexander Orlovskyy <aorlovskyy@novell.com> 2008-12-16 02:00:45 MST --- Marius, can you look at the bug? -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c3 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tambet@novell.com Status|NEW |ASSIGNED --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2008-12-16 04:47:24 MST --- The network-number problem is fixed in 11.1 final - please update at least the dhcp and dhcp-client packages. Mon Nov 24 13:00:39 CET 2008 - mt@suse.de - Removed network-number request from dhclient.conf (bnc#443788). On update, the new config file may be created as dhclient.conf.rpmnew; please rename manually. The another problem is that your router doesn't provide any subnet-mask (network mask) and the cliene rejects it because we require it in the dhclient.conf: require subnet-mask; This option is not required by RFCs... As workaround, please comment out this line; I'll provide a fixed test package at: http://download.opensuse.org/repositories/home://mtomaschewski://11.1/openSU... Can also you call "dhcpcd-test eth0" and attach the output here? -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c6 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |q4lw5yj7jbs8dxl@temporaryinbox.com --- Comment #6 from Marius Tomaschewski <mt@novell.com> 2008-12-16 06:30:33 MST --- "John", can you provide the "dhcpcd-test eth0" output please? -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c9 --- Comment #9 from Marius Tomaschewski <mt@novell.com> 2008-12-16 07:00:48 MST --- (In reply to comment #3 from Marius Tomaschewski)
The network-number problem is fixed in 11.1 final - please update at least the dhcp and dhcp-client packages.
Mon Nov 24 13:00:39 CET 2008 - mt@suse.de - Removed network-number request from dhclient.conf (bnc#443788).
You can find the most recent dhcp-client (+dhcp) packages here: http://download.opensuse.org/factory/repo/oss/suse/ -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User q4lw5yj7jbs8dxl@temporaryinbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c10 John Doe <q4lw5yj7jbs8dxl@temporaryinbox.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|q4lw5yj7jbs8dxl@temporaryinbox.com | --- Comment #10 from John Doe <q4lw5yj7jbs8dxl@temporaryinbox.com> 2008-12-16 17:42:12 MST --- I've updated dhcp-client from your repository in comment #3 and my machine now connects without changes to /etc/dhclient.conf. It seems that the router does send the subnet mask but that dhcp-client did not request or recognize it with the invalid option included. In any case, here is the output of "dhcpcd-test wlan0" (I've anonymized the hw addresses): info, wlan0: hardware address = 00:... info, wlan0: broadcasting for a lease debug, wlan0: sending DHCP_DISCOVER with xid 0x48d837d2 debug, wlan0: waiting for 10 seconds debug, wlan0: got a packet with xid 0x48d837d2 info, wlan0: offered 192.168.1.197 from 192.168.1.1 IPADDR='192.168.1.197' NETMASK='255.255.255.0' NETWORK='192.168.1.0' BROADCAST='192.168.1.255' ROUTES='' GATEWAYS='192.168.1.1' DNSSERVERS='192.168.1.1' DHCPSID='192.168.1.1' LEASETIME='86400' RENEWALTIME='43200' REBINDTIME='75600' INTERFACE='wlan0' CLASSID='dhcpcd 3.2.3' CLIENTID='01:...' DHCPCHADDR='00:...' info, wlan0: exiting As far as I can see this particular issue appears fixed. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=459296 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459296#c11 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #11 from Marius Tomaschewski <mt@novell.com> 2008-12-17 03:25:28 MST --- (In reply to comment #10 from John Doe)
I've updated dhcp-client from your repository in comment #3 and my machine now connects without changes to /etc/dhclient.conf. It seems that the router does send the subnet mask but that dhcp-client did not request or recognize it with the invalid option included.
OK, thanks! In my tests and in customer reports (probably always ISC dhcpd) it didn't rejected the offer, but just didn't configured e.g. the nameservers. It seems to depend on the order of dhcp options in the server response. The Host Requirements Documents (HR-RFCs) say, that both ip-address and the subnet-mask belong together and "ought to be defined at the same time and by the same mechanism"... Resolving it as duplicate. *** This bug has been marked as a duplicate of bug 443788 *** https://bugzilla.novell.com/show_bug.cgi?id=443788 -- 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.
participants (1)
-
bugzilla_noreply@novell.com