[TriLUG] link-local network question

Jon Carnes jonc at nc.rr.com
Thu Oct 16 19:07:59 EDT 2003


On Thu, 2003-10-16 at 17:06, P. L. Charles Fischer wrote:
> I have a RedHat 9.0 box which configures it's network card via DHCP from a 
> firewall.  This works great, but I need the system to default to a 
> "link-local" (169.???.???.???) address if DHCP fails.  Then if "link-local" 
> fails, then set address to default to a static address (like 192.168.1.1).
> 
> Anybody ever try this on a IPv4 network?
> 
> Thanks
> Charles Fischer

I would do this by running a script and checking the value of ifconfig,
but you might be able to use the scripts in:
  /etc/sysconfig/network-scripts/ifdown-eth0
  and ifup-eth0

Note: you'll have to create this yourself.

Good Luck - Jon Carnes




More information about the TriLUG mailing list