[SOLVED] Networkinterfacename changes on reboot

fireon

Distinguished Member
Oct 25, 2010
4,525
491
153
Austria/Graz
deepdoc.at
Hello,

i have here an PVE4 with nosubscriptionrepo.
pve-manager/4.1-22/aca130cf (running kernel: 4.2.8-1-pve)

I have 3 networkcards in. On, onboard is in bios deactivated. And the other 2 are PCIcards. I have an bond:
Code:
auto lo
iface lo inet loopback

iface eth0 inet manual
iface eth1 inet manual

auto bond0
iface bond0 inet6 static
    address  2001:470:.....
    netmask  64
    gateway  2001:470:......
    slaves eth0 eth1
    bond_miimon 100
    bond_mode 802.3ad
    bond_xmit_hash_policy layer2+3
But after some reboots the interfacename from eht1 was changed to "rename3". Never seen this before. But in the PVE Webinterface there is the old name present, not active. So i deleted the udevfile "/etc/udev/rules.d/70-persistent-net.rules" and reboot the machine. After reboot everything was fine, but in this, only the interface eth0 was writen again. No eht1. But it was present and bonding was ok.

So after reboot again, same problem. Interface eht1 was renamed and not present. What strange problem to i have here?

Thanks
 
i have here an PVE4 with nosubscriptionrepo.
pve-manager/4.1-22/aca130cf (running kernel: 4.2.8-1-pve)

I have 3 networkcards in. On, onboard is in bios deactivated. And the other 2 are PCIcards. I have an bond:
Code:
auto lo
iface lo inet loopback

iface eth0 inet manual
iface eth1 inet manual

auto bond0
iface bond0 inet6 static
    address  2001:470:.....
    netmask  64
    gateway  2001:470:......
    slaves eth0 eth1
    bond_miimon 100
    bond_mode 802.3ad
    bond_xmit_hash_policy layer2+3
But after some reboots the interfacename from eht1 was changed to "rename3". Never seen this before. But in the PVE Webinterface there is the old name present, not active. So i deleted the udevfile "/etc/udev/rules.d/70-persistent-net.rules" and reboot the machine. After reboot everything was fine, but in this, only the interface eth0 was writen again. No eht1. But it was present and bonding was ok.

So after reboot again, same problem. Interface eht1 was renamed and not present. What strange problem to i have here?


The phenomenon getting NICs named "renameX" I know from situations when the same MAC address occurs multiple times. Since this is not really probable in your case I would suspect a sporadic HW defect. If you have got such a situation: what reports

Code:
ifconfig -a
 
Code:
bond0     Link encap:Ethernet  HWaddr 6c:fd:b9:00:77:55  
          inet6 addr: fe80::6efd:b9ff:fe00:7755/64 Scope:Link
          inet6 addr: 2001:470:.../64 Scope:Global
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:67884369 errors:0 dropped:326731 overruns:0 frame:0
          TX packets:11910215 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:99861854750 (93.0 GiB)  TX bytes:4820854945 (4.4 GiB)

eth0      Link encap:Ethernet  HWaddr 6c:fd:b9:00:77:55  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1443084 errors:0 dropped:39 overruns:0 frame:0
          TX packets:9268650 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:987682410 (941.9 MiB)  TX bytes:875332164 (834.7 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:7616 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7616 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:429645 (419.5 KiB)  TX bytes:429645 (419.5 KiB)

rename3   Link encap:Ethernet  HWaddr 6c:fd:b9:00:77:55  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:66441285 errors:0 dropped:326692 overruns:0 frame:0
          TX packets:2641565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:98874172340 (92.0 GiB)  TX bytes:3945522781 (3.6 GiB)
 
... and what is the content of /etc/udev/rules.d/70-persistent-net.rules ?
 
... and what is the content of /etc/udev/rules.d/70-persistent-net.rules ?
Only one Interface...
Code:
# PCI device 0x10ec:0x8169 (r8169) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="6c:fd:b9:00:77:55", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Hmm, maybe you are right, i will change the second card.
 
So I've changed the card.... and it works fine, no changes or something else... really an HW defect.

thanks :)