Linux-Noob Forums

Full Version: too cool
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

Chalk this up on the seemingly endless list of 'little' things I keep finding out that make me love gentoo for its ability to continually shine for doing things that no other distros do (that I'm aware of) or if they do it .. I keep seeming to enjoy the way gentoo does it better.
Yes, and the reason for this plethora of information is the "in depth" approach that is taken when one uses Gentoo, you can't help but dive head-first into it :)