[H-GEN] static IP on LAN dedian sarge

Russell Stuart russell-humbug at stuart.id.au
Tue Feb 22 23:22:28 EST 2005


On Wed, 2005-02-23 at 14:16, Mick wrote:
> I've just installed debian sarge (net install) and need to set it up to use 
> static IP but 20 hours of trying have only resulted in broken networking and 
> a tripling of ping times on other 3 machines on the LAN.
> 
> Can anyone help me with the complete, correct incantations to affect this 
> magic please

aj should reply to this - he wrote the networking 
configuration stuff for Debian.

You need to edit the file /etc/networking/interfaces.
"man interfaces" describes the format of the file.

You probably want something like this:

              auto lo eth0

              iface lo inet loopback

              iface eth0 inet static
                   address 192.168.1.1
                   netmask 255.255.255.0
                   up flush-mail







More information about the General mailing list