Am Di, den 13.01.2004 schrieb Dexter Ang um 04:56: [ snip ] > i'm sorry for not being clear. what i specifically want to happen is > similar to what happens to windows. basically: > > 1. upon boot, check if i can get an address from dhcp. > 2. if i can, great, get address, and done. if not... > 3. automatically set an ip address that doesn't conflict with anything > else using apipa 169.254.x.x address range. > > what currently happens is: > > 1. upon boot, check if i can get an address from dhcp. > 2. if i can, great, get address, and done. if not, eth0 isn't brought > up, no ip address. > > is there a way to set a default/"alternate" address in case i do not > get an ip address from the dhcp server? that way windows machines can > access me through my ip easily. any options i can put in > /etc/sysconfig/network-scripts/ifcfg-eth0, or maybe a man page i can > read about it, as i can't seem to find any help on options for the > ifcfg-ethx scripts. > > thanks! > > dex Should be easy to code in a few minutes. Just edit /sbin/ifup where it handles DHCP configuration. At the moment this is no option to be set in the config files. Alexander -- Alexander Dalloz | Enger, Germany PGP key valid: made 13.07.1999 PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653