PDA

View Full Version : Static IP trouble


dayjahone
27th August 2008, 06:47
I just switched ISPs and am now with Comcast. They gave me 5 IPs, a gateway address, a subnet address, and two dns addresses.

I am running Ubuntu 8 and am having the following problem when I try to edit /etc/network/interfaces:

SIOCADDRT: No such process
Failed to bring up eth0.

This is what /etc/network/interfaces looks like:

Has anyone run into this? Thanks.

Ben
27th August 2008, 08:30
Most cases I found when searching around for that issue was a misconfig...

When I check the netconfig on both my debian and centos box, i was not able to leave broadcast and network address out. So maybe adding those two adresses will help.

dayjahone
27th August 2008, 16:41
I have one machine that is running fine with only the three lines, but I don't know what the other two lines would be.

topdog
28th August 2008, 11:38
You cannot have a default gateway that is on another network, the default gateway has to be on your subnet.

dayjahone
28th August 2008, 16:01
Thanks. I thought it was weird, but it turns out Comcast just gave me the wrong number.