Static-IP configuration problems

Discussion in 'Installation/Configuration' started by epodany, Nov 24, 2007.

  1. epodany

    epodany New Member

    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:
    Code:
    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
     
    Last edited: Nov 24, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Does
    Code:
    ping -c4 72.14.207.99
    work?
     
  3. epodany

    epodany New Member

    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
     

Share This Page