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

Re: Static IP config



Okay, with the /etc/network/interfaces file looking like this:

auto lo eth0
iface lo inet loopback
iface eth0 inet static
 	address 192.168.0.101
	netmask 255.255.255.0
	gateway 192.168.0.1

And my resolv.conf looking like this:(/etc/resolv.conf didn't exist I
had to create it)

nameserver 192.168.0.1
nameserver 192.168.0.1
nameserver 68.116.216.6

Nothing works at first, and I occasionally get the error message with
ifup:
/etc/network/interfaces:14: duplicate option
couldn't read interfaces file: "/etc/network/interfaces"

I can't ping anything at all, until I type:

ifconfig eth0 192.168.0.101 netmask 255.255.255.0

Then I can ping anything on my personal network, but nothing outside of
it.  By IP or name...

More than a little confused...
-A




At 03:14 AM 7/6/2003 +0200, Sebastian Kapfer wrote:
On Sun, 06 Jul 2003 00:20:04 +0200, Kelley Hilborn wrote:

> iface eth0 inet static
> 	address 192.168.0.101
> 	netmask 255.255.255.0
> 	gateway 192.168.0.1

Looks OK to me.

> About all I can do at this point is ping my gateway computer.

Can you be more precise? Can you ping other computers on your subnet?
Can
you ping internet hosts by IP (numerically, try 204.152.189.116 for
example)?

> If so, where?

That was already in the other replies :-)

-- 
Best Regards,   |   Hi! I'm a .signature virus. Copy me into
 Sebastian      |   your ~/.signature to help me spread!


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: