PDA

View Full Version : Static-IP configuration problems


epodany
24th November 2007, 04:11
Hello,
I'm trying to establish an internet connection on a fresh install of Debian Etch - it must be static IP to go through my organization's Cisco system.

I've checked the jack with another computer, it's ok. To configure, I used "ifdown eth1", then I manually added the eth1 stanza seen below to /etc/network/interfaces, then "ifup eth1"

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 129.206.169.194
netmask 255.255.255.0
gateway 129.206.169.1
dns-nameservers 129.206.100.126 129.206.210.127
dns-search example.com

I feel the problem is connected to dns somehow - when I try and access/ping a site I should be able to access, I am immediately prompted with "unknown host". I'm not quite sure what to try next... any ideas or suggestions would be very appreciated.

Cheers,
Eric

falko
25th November 2007, 13:37
Does ping -c4 72.14.207.99 work?

epodany
25th November 2007, 14:57
Hello falko,

Thank you for your reply. I just got it working this morning. What fixed the problem for me was moving nameserver addresses from /etc/network/interfaces to resolv.conf

I believe the nameserver addresses should only be in /etc/network/interfaces if one is running resolvconf, which will then in turn dynamically update nameserver information in resolv.conf

Thank you again, and now it might be time to make a new post about my geforce video card not working.

Regards,
Eric