Summary: | dhcpcd-3.0.16-r1 does not set a default gateway | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Syed Amer Gilani <amg> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | amg |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dhcpcd 2.0.5 Wireshark dump
dhcpcd 3.0.16 Wireshark dump |
Description
Syed Amer Gilani
2007-04-18 09:43:36 UTC
*** This bug has been marked as a duplicate of bug 173931 *** this is not an duplicate of 173931. there the gateway is unreachable. here it is but dhcpcd is not even trying to set it. If you feel this is not a duplicate, then please attach a whireshark trace of dhcpcd-3.x and dhcpcd-2.x of the dhcp transaction and then re-open this bug. Thanks Created attachment 116632 [details]
dhcpcd 2.0.5 Wireshark dump
Created attachment 116633 [details]
dhcpcd 3.0.16 Wireshark dump
It seems that 3.0.16 does not request any special informations in the DHCP Discover, but 2.0.5 does. And the default answer from dnsmasq does not contain the router entry. You've set Classless Static Routes on the DHCP server. This overrides any static routes *and* routers provided. You need to include your default route in your CSR option. See RFC3442 - DHCP Client Behaviour If the DHCP server returns both a Classless Static Routes option and a Router option, the DHCP client MUST ignore the Router option. Similarly, if the DHCP server returns both a Classless Static Routes option and a Static Routes option, the DHCP client MUST ignore the Static Routes option. setting the default route as a classless static route solved the problem. but this seems to be a DHCP Behaviour that no other DHCP client cares about. We have here many Windows xp/98/2000, apple and linux workstations which worked normal with the previous DHCP server settings. but thanks anyway. (In reply to comment #8) > setting the default route as a classless static route solved the problem. > but this seems to be a DHCP Behaviour that no other DHCP client cares about. We > have here many Windows xp/98/2000, apple and linux workstations which worked > normal with the previous DHCP server settings. > but thanks anyway. Only clients that understand CSR's would behave correctly. Of that list, only windows 2000 and XP should know about CSR's. dhcpcd-3 is the only linux client that knows about CSR's dhclient from FreeBSD also knows and behaves in the same manner as dhcpcd-3, so I would assume that the Microsoft clients don't follow the RFC exactly, which should not come as a suprise. |