Having problem after renaming int name to eth0

elvinmammadov

Member
Feb 12, 2021
30
1
13
34
Hello,

We have a Proxmox server which has 7 ethernet ports. We have created udev rule to change the interface names to eth0, 1, 2, 3 and etc. But after reboot, the original int name doesn't change to eth0. The other interface names is changed. If change eth0 to eth9, then it works. I have found the following logs:
- systemd-udevd[706]: eno1: Failed to rename network interface 6 from 'eno1' to 'eth0': File exists
- networking[2169]: error: netlink: eth0: cannot enslave link eth0 to bond0: operation failed with 'No such device' (19)

If I change names to different name, for example. net0, net1, then if I look at interfaces in web gui, it shows "unknown" interfaces types. Why Proxmox doesn't allow different interface names?

2022-01-12 16_57_22-SEEXVEPRO12 - Proxmox Virtual Environment.png
 

Attachments

  • 2022-01-12 16_57_22-SEEXVEPRO12 - Proxmox Virtual Environment.png
    2022-01-12 16_57_22-SEEXVEPRO12 - Proxmox Virtual Environment.png
    20.4 KB · Views: 1
Hello,

I tried to change the NIC name to eth0 here and works normally, can I ask you why you want to change the NIC names and how you changed the NIC names in your server?

also please provide us with the output of cat /etc/network/interfaces and ip a commands.
 
Hello,

I change interface names through udev rules.

Code:
root@proxmox:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto net0
iface net0 inet manual

auto net1
iface net1 inet manual

auto net2
iface net2 inet manual

auto net3
iface net3 inet manual

auto net4
iface net4 inet dhcp

auto net5
iface net5 inet manual

auto net6
iface net6 inet manual

auto net7
iface net7 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves net0 net2
        bond-miimon 100
        bond-mode active-backup

auto bond1
iface bond1 inet static
        address 10.10.101.12/24
        bond-slaves net1 net3
        bond-miimon 100
        bond-mode balance-rr
        pre-up ifconfig net1 mtu 9000
        pre-up ifconfig net3 mtu 9000
        post-up ifconfig bond1 mtu 9000

auto vmbr0
iface vmbr0 inet static
        address 10.40.56.12/24
        #gateway 10.40.56.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0

auto vmbr5
iface vmbr5 inet static
       address 10.10.120.12/24
       bridge-ports net5
       bridge-stp off
       bridge-fd 0
       pre-up ifconfig net5 mtu 9000
       post-up ifconfig vmbr5 mtu 9000

auto vmbr6
iface vmbr6 inet static
       address 10.10.121.12/24
       bridge-ports net6
       bridge-stp off
       bridge-fd 0
       pre-up ifconfig net6 mtu 9000
       post-up ifconfig vmbr6 mtu 9000
root@proxmox:~#

**************************

Code:
root@proxmox:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: net4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:3d:1a:22:3e:8c brd ff:ff:ff:ff:ff:ff
    altname enp1s0f0
    inet 10.200.201.120/24 brd 10.200.201.255 scope global dynamic net4
       valid_lft 86297sec preferred_lft 86297sec
    inet6 fe80::e63d:1aff:fe22:3e8c/64 scope link
       valid_lft forever preferred_lft forever
3: net5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc mq master vmbr5 state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8d brd ff:ff:ff:ff:ff:ff
    altname enp1s0f1
4: net6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc mq master vmbr6 state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8e brd ff:ff:ff:ff:ff:ff
    altname enp1s0f2
5: net7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8f brd ff:ff:ff:ff:ff:ff
    altname enp1s0f3
6: net0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:07:66:eb
    altname enp4s0f0
    altname eno1
7: net1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond1 state UP group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:07:66:ec
    altname enp4s0f1
    altname eno2
8: net2: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:02:b1:67
    altname enp179s0f0
9: net3: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 9000 qdisc mq master bond1 state DOWN group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:02:b1:68
    altname enp179s0f1
10: idrac: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f4:ee:08:07:66:e8 brd ff:ff:ff:ff:ff:ff
16: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN group default qlen 1000
    link/ether 96:32:66:0e:e4:ce brd ff:ff:ff:ff:ff:ff
17: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a2:e1:2c:40:8e:13 brd ff:ff:ff:ff:ff:ff
18: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 32:fb:e1:ad:ee:77 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::30fb:e1ff:fead:ee77/64 scope link
       valid_lft forever preferred_lft forever
19: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000
    link/ether 0e:59:8e:2d:cf:de brd ff:ff:ff:ff:ff:ff
20: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether 1a:32:f5:db:4a:b5 brd ff:ff:ff:ff:ff:ff
21: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 7e:1f:1d:18:45:e3 brd ff:ff:ff:ff:ff:ff
22: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 56:3d:f2:e3:71:fe brd ff:ff:ff:ff:ff:ff
    inet6 fe80::543d:f2ff:fee3:71fe/64 scope link
       valid_lft forever preferred_lft forever
23: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP group default qlen 1000
    link/ether aa:13:e7:25:d8:7f brd ff:ff:ff:ff:ff:ff
24: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr102i0 state UNKNOWN group default qlen 1000
    link/ether ba:9a:22:af:c0:61 brd ff:ff:ff:ff:ff:ff
25: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 92:1f:cd:09:5a:1a brd ff:ff:ff:ff:ff:ff
26: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 86:45:9b:fd:bf:82 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::8445:9bff:fefd:bf82/64 scope link
       valid_lft forever preferred_lft forever
27: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP group default qlen 1000
    link/ether de:a0:1f:7e:00:1e brd ff:ff:ff:ff:ff:ff
33: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff
    inet 10.10.101.12/24 scope global bond1
       valid_lft forever preferred_lft forever
    inet6 fe80::6086:edff:fe59:785f/64 scope link
       valid_lft forever preferred_lft forever
34: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff
35: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff
    inet 10.40.56.12/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::e8a9:fdff:fe8f:d06/64 scope link
       valid_lft forever preferred_lft forever
36: vmbr5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc noqueue state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8d brd ff:ff:ff:ff:ff:ff
    inet 10.10.120.12/24 scope global vmbr5
       valid_lft forever preferred_lft forever
37: vmbr6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc noqueue state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8e brd ff:ff:ff:ff:ff:ff
    inet 10.10.121.12/24 scope global vmbr6
       valid_lft forever preferred_lft forever

*************************

Code:
root@ubuntu:~# cat /etc/udev/rules.d/99-persistent-net-it.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="eno1", NAME="net0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="eno2", NAME="net1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp179s0f0*", NAME="net2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp179s0f1*", NAME="net3"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f0*", NAME="net4"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f1*", NAME="net5"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f2*", NAME="net6"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f3*", NAME="net7"
 

Attachments

  • 2022-01-12 16_57_22-SEEXVEPRO12 - Proxmox Virtual Environment.png
    2022-01-12 16_57_22-SEEXVEPRO12 - Proxmox Virtual Environment.png
    39.4 KB · Views: 1
I changed back the interface names to eth. But eth0 eno1 doesn't change to eth0. But I change only eno1 name eth0, then it works, but if I change other interface names to eth, then it doesn't work. Then it gives the following error:

Code:
- systemd-udevd[706]: eno1: Failed to rename network interface 6 from 'eno1' to 'eth0': File exists
- networking[2169]: error: netlink: eth0: cannot enslave link eth0 to bond0: operation failed with 'No such device' (19)

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

auto eth4
iface eth4 inet dhcp

auto eth5
iface eth5 inet manual

auto eth6
iface eth6 inet manual

auto eth7
iface eth7 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eth0 eth2
        bond-miimon 100
        bond-mode active-backup

auto bond1
iface bond1 inet static
        address 10.10.101.12/24
        bond-slaves eth1 eth3
        bond-miimon 100
        bond-mode balance-rr
        pre-up ifconfig eth1 mtu 9000
        pre-up ifconfig eth3 mtu 9000
#     pre-up ifconfig eth4 mtu 9000
        post-up ifconfig bond1 mtu 9000

auto vmbr0
iface vmbr0 inet static
        address 10.40.56.12/24
        gateway 10.40.56.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0

auto vmbr5
iface vmbr5 inet static
        address 10.10.120.12/24
        bridge-ports eth5
        bridge-stp off
        bridge-fd 0
        pre-up ifconfig eth5 mtu 9000
        post-up ifconfig vmbr5 mtu 9000

auto vmbr6
iface vmbr6 inet static
        address 10.10.121.12/24
        bridge-ports eth6
        bridge-stp off
        bridge-fd 0

************************

Code:
root@proxmox:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:3d:1a:22:3e:8c brd ff:ff:ff:ff:ff:ff
    altname enp1s0f0
    inet 10.200.201.120/24 brd 10.200.201.255 scope global dynamic eth4
       valid_lft 85267sec preferred_lft 85267sec
    inet6 fe80::e63d:1aff:fe22:3e8c/64 scope link
       valid_lft forever preferred_lft forever
3: eth5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc mq master vmbr5 state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8d brd ff:ff:ff:ff:ff:ff
    altname enp1s0f1
4: eth6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc mq master vmbr6 state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8e brd ff:ff:ff:ff:ff:ff
    altname enp1s0f2
5: eth7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8f brd ff:ff:ff:ff:ff:ff
    altname enp1s0f3
6: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f4:ee:08:07:66:eb brd ff:ff:ff:ff:ff:ff
    altname enp4s0f0
7: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond1 state UP group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:07:66:ec
    altname enp4s0f1
    altname eno2
8: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f4:ee:08:02:b1:67 brd ff:ff:ff:ff:ff:ff
    altname enp179s0f0
9: eth3: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 9000 qdisc mq master bond1 state DOWN group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff permaddr f4:ee:08:02:b1:68
    altname enp179s0f1
10: idrac: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f4:ee:08:07:66:e8 brd ff:ff:ff:ff:ff:ff
11: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether 62:86:ed:59:78:5f brd ff:ff:ff:ff:ff:ff
    inet 10.10.101.12/24 scope global bond1
       valid_lft forever preferred_lft forever
    inet6 fe80::6086:edff:fe59:785f/64 scope link
       valid_lft forever preferred_lft forever
12: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue master vmbr0 state DOWN group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff
13: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether ea:a9:fd:8f:0d:06 brd ff:ff:ff:ff:ff:ff
    inet 10.40.56.12/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::e8a9:fdff:fe8f:d06/64 scope link
       valid_lft forever preferred_lft forever
14: vmbr5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc noqueue state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8d brd ff:ff:ff:ff:ff:ff
    inet 10.10.120.12/24 scope global vmbr5
       valid_lft forever preferred_lft forever
15: vmbr6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc noqueue state DOWN group default qlen 1000
    link/ether e4:3d:1a:22:3e:8e brd ff:ff:ff:ff:ff:ff
    inet 10.10.121.12/24 scope global vmbr6
       valid_lft forever preferred_lft forever
16: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN group default qlen 1000
    link/ether 96:32:66:0e:e4:ce brd ff:ff:ff:ff:ff:ff
17: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a2:e1:2c:40:8e:13 brd ff:ff:ff:ff:ff:ff
18: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether 32:fb:e1:ad:ee:77 brd ff:ff:ff:ff:ff:ff
19: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000
    link/ether 0e:59:8e:2d:cf:de brd ff:ff:ff:ff:ff:ff
20: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether 1a:32:f5:db:4a:b5 brd ff:ff:ff:ff:ff:ff
21: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 7e:1f:1d:18:45:e3 brd ff:ff:ff:ff:ff:ff
22: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether 56:3d:f2:e3:71:fe brd ff:ff:ff:ff:ff:ff
23: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP group default qlen 1000
    link/ether aa:13:e7:25:d8:7f brd ff:ff:ff:ff:ff:ff
24: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr102i0 state UNKNOWN group default qlen 1000
    link/ether ba:9a:22:af:c0:61 brd ff:ff:ff:ff:ff:ff
25: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 92:1f:cd:09:5a:1a brd ff:ff:ff:ff:ff:ff
26: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether 86:45:9b:fd:bf:82 brd ff:ff:ff:ff:ff:ff
27: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP group default qlen 1000
    link/ether de:a0:1f:7e:00:1e brd ff:ff:ff:ff:ff:ff

****************************

Code:
root@SEEXVEPRO12:~# cat /etc/udev/rules.d/99-persistent-net-it.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="eno1", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="eno2", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp179s0f0*", NAME="eth2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp179s0f1*", NAME="eth3"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f0*", NAME="eth4"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f1*", NAME="eth5"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f2*", NAME="eth6"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="enp1s0f3*", NAME="eth7"
 
Now I restarted the server again, now it shows eth0, but eth1 doesn't work.

Code:
root@proxmox:~# dmesg  | grep -i eth
[    1.704588] wmi_bus wmi_bus-PNP0C14:00: WQBC data block query control method not found
[    1.712711] tg3 0000:01:00.0 eth0: Tigon3 [partno(BCM95719) rev 5719001] (PCI Express) MAC address e4:3d:1a:22:3e:8c
[    1.712715] tg3 0000:01:00.0 eth0: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.712717] tg3 0000:01:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.712719] tg3 0000:01:00.0 eth0: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.834717] tg3 0000:01:00.1 eth1: Tigon3 [partno(BCM95719) rev 5719001] (PCI Express) MAC address e4:3d:1a:22:3e:8d
[    1.834730] tg3 0000:01:00.1 eth1: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.834738] tg3 0000:01:00.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.834746] tg3 0000:01:00.1 eth1: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.854404] tg3 0000:01:00.2 eth2: Tigon3 [partno(BCM95719) rev 5719001] (PCI Express) MAC address e4:3d:1a:22:3e:8e
[    1.854415] tg3 0000:01:00.2 eth2: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.854420] tg3 0000:01:00.2 eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.854425] tg3 0000:01:00.2 eth2: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.874560] tg3 0000:01:00.3 eth3: Tigon3 [partno(BCM95719) rev 5719001] (PCI Express) MAC address e4:3d:1a:22:3e:8f
[    1.874571] tg3 0000:01:00.3 eth3: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.874577] tg3 0000:01:00.3 eth3: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.874582] tg3 0000:01:00.3 eth3: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.892322] tg3 0000:04:00.0 eth4: Tigon3 [partno(BCM95720) rev 5720000] (PCI Express) MAC address f4:ee:08:07:66:eb
[    1.892333] tg3 0000:04:00.0 eth4: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.892339] tg3 0000:04:00.0 eth4: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.892344] tg3 0000:04:00.0 eth4: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.914732] tg3 0000:04:00.1 eth5: Tigon3 [partno(BCM95720) rev 5720000] (PCI Express) MAC address f4:ee:08:07:66:ec
[    1.914741] tg3 0000:04:00.1 eth5: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.914747] tg3 0000:04:00.1 eth5: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.914752] tg3 0000:04:00.1 eth5: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.942075] tg3 0000:b3:00.0 eth6: Tigon3 [partno(BCM95720) rev 5720000] (PCI Express) MAC address f4:ee:08:02:b1:67
[    1.942081] tg3 0000:b3:00.0 eth6: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.942084] tg3 0000:b3:00.0 eth6: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.942087] tg3 0000:b3:00.0 eth6: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.970363] tg3 0000:b3:00.1 eth7: Tigon3 [partno(BCM95720) rev 5720000] (PCI Express) MAC address f4:ee:08:02:b1:68
[    1.970368] tg3 0000:b3:00.1 eth7: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    1.970370] tg3 0000:b3:00.1 eth7: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[    1.970372] tg3 0000:b3:00.1 eth7: dma_rwctrl[00000001] dma_mask[64-bit]
[    1.972676] tg3 0000:b3:00.1 enp179s0f1: renamed from eth7
[    2.016806] tg3 0000:b3:00.0 enp179s0f0: renamed from eth6
[    2.060199] tg3 0000:01:00.3 enp1s0f3: renamed from eth3
[    2.120267] tg3 0000:01:00.0 enp1s0f0: renamed from eth0
[    2.144290] tg3 0000:01:00.2 enp1s0f2: renamed from eth2
[    2.172208] tg3 0000:01:00.1 enp1s0f1: renamed from eth1
[    2.208582] tg3 0000:04:00.1 eno2: renamed from eth5
[    2.232361] tg3 0000:04:00.0 eno1: renamed from eth4
[    6.180818] No Local Variables are initialized for Method [_GHL]
[    6.180820] No Arguments are initialized for method [_GHL]
[    6.180823] ACPI Error: Aborting method \_SB.PMI0._GHL due to previous error (AE_NOT_EXIST) (20210331/psparse-529)
[    6.181129] ACPI Error: Aborting method \_SB.PMI0._PMC due to previous error (AE_NOT_EXIST) (20210331/psparse-529)
[    6.486890] tg3 0000:04:00.0 eth0: renamed from eno1
[    6.529115] tg3 0000:01:00.2 eth6: renamed from enp1s0f2
[    6.561863] tg3 0000:b3:00.1 eth3: renamed from enp179s0f1
[    6.612245] tg3 0000:01:00.3 eth7: renamed from enp1s0f3
[    6.645187] cdc_ether 1-14.3:1.0 eth1: register 'cdc_ether' at usb-0000:00:14.0-14.3, CDC Ethernet Device, f4:ee:08:07:66:e8
[    6.645426] usbcore: registered new interface driver cdc_ether
[    6.645434] tg3 0000:01:00.0 eth4: renamed from enp1s0f0
[    6.691990] tg3 0000:b3:00.0 eth2: renamed from enp179s0f0
[    6.724279] tg3 0000:01:00.1 eth5: renamed from enp1s0f1
[    6.768516] cdc_ether 1-14.3:1.0 idrac: renamed from eth1
[   14.315144] tg3 0000:01:00.0 eth4: Link is up at 1000 Mbps, full duplex
[   14.315167] tg3 0000:01:00.0 eth4: Flow control is off for TX and off for RX
[   14.315172] tg3 0000:01:00.0 eth4: EEE is disabled
[   14.315194] IPv6: ADDRCONF(NETDEV_CHANGE): eth4: link becomes ready
[   16.572272] bond0: (slave eth0): Enslaving as a backup interface with a down link
[   16.703528] bond0: (slave eth2): Enslaving as a backup interface with a down link
[   16.815461] vmbr5: port 1(eth5) entered blocking state
[   16.815469] vmbr5: port 1(eth5) entered disabled state
[   16.815588] device eth5 entered promiscuous mode
[   17.002484] vmbr6: port 1(eth6) entered blocking state
[   17.002488] vmbr6: port 1(eth6) entered disabled state
[   17.002547] device eth6 entered promiscuous mode
[   20.071756] tg3 0000:04:00.0 eth0: Link is up at 1000 Mbps, full duplex
[   20.071769] tg3 0000:04:00.0 eth0: Flow control is off for TX and off for RX
[   20.071775] tg3 0000:04:00.0 eth0: EEE is disabled
[   20.080106] bond0: (slave eth0): link status definitely up, 1000 Mbps full duplex
[   20.080115] bond0: (slave eth0): making interface the new active one
[   20.080119] device eth0 entered promiscuous mode
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!