Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 314557

Summary: net-misc/dhcpcd-5.2.2: dhcpcd doesn't receive default route
Product: Gentoo Linux Reporter: Arsen Shnurkov <Arsen.Shnurkov>
Component: New packagesAssignee: William Hubbs <williamh>
Status: RESOLVED NEEDINFO    
Severity: normal CC: base-system, jeremy.william.murphy, roy
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: upstream (?)
Package list:
Runtime testing required: ---

Description Arsen Shnurkov 2010-04-10 17:33:08 UTC
I have tried with the following
/etc/conf.d/net:
modules_eth0=("dhcpcd")
config_eth0=("dhcp")
dhcpcd_eth0="-A -b -t 0"
metric_eth0="1"
and /etc/dhcpcd.conf:
hostname
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
option interface_mtu
require dhcp_server_identifier
nohook lookup-hostname


I've tried to build the package with and without USE="compat".
I've tried to add "option routers" line to /etc/dhcpcd.conf
I've tried to replace line
dhcpcd_eth0="-A -b -t 0"
with
dhcpcd_eth1="-A -b -o ms_classless_static_routes -t 0" 

Nothing helps...

The dhcp server gives out the gateway, because I can setup dhclient from net-misc/dhcp-3.1.2_p1 package, and it works ok
Comment 1 Roy Marples 2010-05-03 07:54:45 UTC
Can you attach a tcpdump of the DHCP session please?
An easy way of doing this is to open a terminal and run
tcpdump -s0 -w/tmp/dhcpcd.cap -ieth0

And then attempt dhcp in another terminal. Once failed or worked, halt the tcpdump and attach /tmp/dhcpcd.cap to this bug report.
Comment 2 Jeremy Murphy 2010-08-02 07:39:46 UTC
Arsen, does this bug occur in the latest version (5.2.6)?