This is my /etc/conf.d/net modules=( "dhcpcd" ) config_eth0=( "192.168.0.3" "dhcp" ) when I restart net.eth0, I get * Starting eth0 * Bringing up eth0 * 192.168.0.3 [ ok ] * dhcp * Running dhcpcd ... [ ok ] * eth0 received address 34.73.156.189/22 [ ok ] however, ifconfig shows that only the address from dhcp is set up, but not the alias 192.168.0.3. The same also happens if I change the order dhcp first and then the alias. I have sys-apps/baselayout-1.12.4-r7
order should be ( "dhcp", "192.168.0.3") (Note you're missing the netmask - maybe /24?) If you have iproute2 installed, check for extra addresses with ip a Aliases are not used with iproute2 - this is not a bug. Reopen if you disagree
indeed I have iproute2 installed. I only checked with ifconfig. And I need the netmask /24, it's not working without it. It's working now