2004-12-06, 03:58 AM
Found in the gentoo forums:
To have a fallback IP address in case dhcp fails during your startup, set the following:
Edit /etc/conf.d/net.NIC and set up the following lines:
ifconfig_ethX="dhcp"
dhcpcd_ethX="-t 20" # tells your dhcp-client to time out after 20 seconds
ifconfig_fallback_eth0="<static IP> netmask <netmask> broadcast <broadcast>"
This can come in handy if you want the machine to fail-over to a set ip address.
P38