[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip address



Quoting Stephen Cormier <s.cormier@gmx.net>:
It is working, thanks.
I remark out the "auto eth0" in the Primary network interface thinking it had
to do with the dhcp settings for the nic.
Thanks again.

Fernando

On October 14, 2005 02:00 am, nano@xmission.com wrote:

Use this.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
# Iface eth0 inet dhcp
iface eth0 inet static
     address 192.168.0.110
     netmask 255.255.255.0
     gateway 192.168.0.1


And do not forget to make sure that you have your namesevers in the
file /etc/resolv.conf the file looks like this.

$ cat /etc/resolv.conf
nameserver 24.222.0.66
nameserver 24.222.0.91

You would of course change the numbers to those provided by your ISP or
if you have a nameserver running its IP address.

Stephen
--
Debian the choice of a GNU generation

GPG Public Key: http://users.eastlink.ca/~stephencormier/publickey.asc





Reply to: