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
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.
Arsen, does this bug occur in the latest version (5.2.6)?