Lost ipconfig information

der.hans PLUGd@LuftHans.com
Wed, 20 Sep 2000 22:24:52 -0700 (MST)


Am 20. Sep, 2000 schwäzte David Demland so:

> Hans,
> 
> Thanks that worked just fine. I can now see the second NIC after a reboot.
> 
> The only problem is that I set the broadcast with ifconfig and when I reboot
> the broadcast is set back to 63.255.255.255 from the 63.88.193.255 I set it
> to before the reboot. How do I get this to stay?

Add netmask to the config.

iface eth0 inet static
        address 10.5.5.99
        netmask 255.255.255.0
        network 10.5.5.0
        broadcast 10.5.5.255
        gateway 10.5.5.5

Technically you shouldn't need to add network and broadcast as they can be
derived from addy and netmask.

ciao,

der.hans
-- 
#  der.hans@LuftHans.com   home.pages.de/~lufthans/   www.Opnix.com
# HERE LIES LESTER MOORE
# SHOT 4 TIMES WITH A .44
# NO LES
# NO MOORE
#        -- tombstone, in Tombstone, AZ