On Mon, 03 Jan 2005 17:56:44 GMT, shawn modersohn wrote:
> I am trying to assign a linux box a static ip address. I ifconfig eth0
> 192.168.1.102 but it won't stick after a reboot. I notice in the
> /etc/network/interfaces file, the following entry. iface eth0 inet dhcp .
> There is also a comment stating this entry was created by the Debian
> installation.
>
> I assume that I simply need to edit this file to create a permenant static
> ip address for eth0. What is the syntax? Thanks.
>
>
auto eth0
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
--
Chaos, panic & disorder - my work here is done
http://beginnerslinux.org