Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
too cool
#1

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

Reply
#2
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.
Reply
#3
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 :)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)