Find the answer to your Linux question:
Results 1 to 2 of 2
hi all, i am struggling to bring up eth0 on static address. my /etc/network/interfaces is look like : auto lo iface lo inet loopback iface eth0 inet6 static address 2001:468::3 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    eth0 show "failed to bring up " on static address but not on dhcp


    hi all,
    i am struggling to bring up eth0 on static address.
    my /etc/network/interfaces is look like :

    auto lo
    iface lo inet loopback

    iface eth0 inet6 static
    address 2001:468::3
    netmask 64
    auto eth0

    #ifconfig
    show error :Failed to bring up eth0.

    but when i change /etc/network/interface file like this:

    auto lo
    iface lo inet loopback

    iface eth0 inet dhcp

    auto eth0


    then it doesn't show any error and getting internet on eth0.
    plz help me.......

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need to specify the gateway and nameservers as well
    Code:
    gateway <ip>
    dns-nameserver <ip>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •