Hi,
I have a proxmox server with a quad NIC card + 2 onboard NICs. I initially installed Proxmox 6 on it a few months ago and ran into issues related to the interface names, which were being named RENAME1, RENAME2 etc.
I found several threads related to this and resolved the issue by creating /etc/systemd/network/99-default.link with the following contents:
My /etc/network/interfaces file contained
As you can see, nothing fancy and I'm currently not using any NIC apart from the primary onboard one.
I have just done an upgrade from V6 to V7 (7.1-5) on this machine. The actual upgrade went fine but after reboot I had lost network connectivity.
I discovered that the primary interface had changed back to eth0 ???
ip link shows:
So, I have currently resolved the issue by modifying /etc/network/interfaces to add
and modifying the vmbr0 definition to use eth0 instead of eno1.
Does anyone know why this has happened and whether there is a better way to fix the naming ? I assume that I should probably be using the new interface names, but I'm currently unclear why it has reverted to old style ?
Thanks
I have a proxmox server with a quad NIC card + 2 onboard NICs. I initially installed Proxmox 6 on it a few months ago and ran into issues related to the interface names, which were being named RENAME1, RENAME2 etc.
I found several threads related to this and resolved the issue by creating /etc/systemd/network/99-default.link with the following contents:
Code:
[Link]
NamePolicy=keep kernel database onboard path slot
MACAddressPolicy=persistent
My /etc/network/interfaces file contained
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface enp10s0f0 inet manual
iface enp10s0f1 inet manual
iface enp9s0f0 inet manual
iface enp9s0f1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.8/24
gateway 192.168.1.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
As you can see, nothing fancy and I'm currently not using any NIC apart from the primary onboard one.
I have just done an upgrade from V6 to V7 (7.1-5) on this machine. The actual upgrade went fine but after reboot I had lost network connectivity.
I discovered that the primary interface had changed back to eth0 ???
ip link shows:
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether d0:bf:9c:46:0e:64 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d0:bf:9c:46:0e:65 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:26:55:df:6d:99 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:26:55:df:6d:98 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:26:55:df:6d:9b brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:26:55:df:6d:9a brd ff:ff:ff:ff:ff:ff
8: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether d0:bf:9c:46:0e:64 brd ff:ff:ff:ff:ff:ff
So, I have currently resolved the issue by modifying /etc/network/interfaces to add
Code:
iface eth0 inet manual
Does anyone know why this has happened and whether there is a better way to fix the naming ? I assume that I should probably be using the new interface names, but I'm currently unclear why it has reverted to old style ?
Thanks