[H-GEN] static IP on LAN debian sarge

Mick mickhowe at bigpond.net.au
Wed Feb 23 00:11:14 EST 2005


On Wed, 23 Feb 2005 14:27, Gary Curtis 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.
> >
> Assuming your...
>
> 1) network interface is eth0
> 2) network is C class 192.168.111.0
> 3) desired IP is 222
> 4) gateway is 127
>
> add the following to /etc/network/interfaces
>
> auto eth0
> iface eth0 inet static
> address 192.168.111.222
> netmask 255.255.255.0
> network 192.168.111.0
> broadcast 192.168.111.255
> gateway 192.168.111.127
>
This is what I did set it to after reading everything I could find (I have 
become very poor at searching these days). that setup resulted in tripled 
ping times on all local boxen and a complete inability to resolve external 
addresses from the debian box.

In case its relevant these are the settings that I use on all boxen on the 
lan:
---------
 /etc/hosts
127.0.0.1	localhost.localdomain localhost
192.168.1.1	ipcop #ipcop gateway
192.168.1.100	cave  #fedora 1
192.168.1.101   nutz  #NT4
192.168.1.102   knop  #knoppix 3.6
192.168.1.103   debi   #debian sarge
------
/etc/host.conf
order hosts,bind
------
/etc/resolv.conf
nameserver 192.168.1.1
------

I really can't think of where to go next the settings work on all the other 
boxen

/]/]ik





More information about the General mailing list