Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can't get my eth1 interface to either go down or go up

My /etc/network/interfaces file :

    # The loopback network interface
    auto lo
    iface lo inet loopback

     # The primary network interface
    allow-hotplug eth0
    iface eth0 inet static
    address <addr>
    netmask 255.255.255.0
    network <addr>
    broadcast <addr>
    gateway <addr>
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers <addr>
    dns-search <dns>

    auto eth1
    iface eth1 inet static
    address 192.168.1.1
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255

Ouput when trying to ifup or ifdown :

    root@nova network # ifup eth1
    RTNETLINK answers: File exists
    Failed to bring up eth1.
    root@nova network # ifdown eth1
    ifdown: interface eth1 not configured

PS : ETH0 is working and if possible id prefer no to restart that interface.

[EDIT] After using force as someone commented, when I ping and check the ARP cache, I get an incomplete request... Looks like it cannot resolve the other computer's MAC addr.

share|improve this question
    
you can force the state change (--force), this way the script will ignore any intermediate failures. RTNETLINK answers: File exists is probably caused by the fact that the default gateway is already defined. –  Hubert Kario Jan 6 '13 at 18:16
    
Thanks for you answer.. But even after trying, I can get to reach the other machine connecter (directly) to that interface... Destination is unreachable... Any idea on how to trouble shoot this? –  Erwald Jan 6 '13 at 18:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.