Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314557 - net-misc/dhcpcd-5.2.2: dhcpcd doesn't receive default route
Summary: net-misc/dhcpcd-5.2.2: dhcpcd doesn't receive default route
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard: upstream (?)
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 17:33 UTC by Arsen Shnurkov
Modified: 2010-08-02 12:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)?