eth0 now eth2 in debian

Discussion in 'Server Operation' started by saco721, Apr 17, 2012.

  1. saco721

    saco721 Member HowtoForge Supporter


    Yesterday one of my servers went down and I had to move the hard drive to another identical machine. The server was running Debian.

    The server was using the network card as eth0. After replacing the 'bad' server I could not get the network up again. (it could not find eth0)

    After a lot of testing, I managed to get Debian to see the new network card as eth2. (I set it in /etc/networking/interfaces)

    Here is /etc/networking/interfaces

    here is the output from /etc/udev/rules.d/70-persistent-net.rules :

    Anyone here who might know what is causing this, and how to set it to see the network card again as eth0?

    Thank you very much for your help!.
  2. kwickcut

    kwickcut Member HowtoForge Supporter

    delete file: /etc/udev/rules.d/70-persistent-net.rules

    then restart the machine and you should be good... this is what i did on ubuntu so it should be the same for you

    this is the thread if you like to read it

  3. saco721

    saco721 Member HowtoForge Supporter

    Hey kwickcut,

    thanks very much for your reply, now got eth0 back.

    best wishes, saco721

Share This Page