[SOLVED] Webui unreachable after adding nvme drive

badatgames

New Member
Mar 7, 2021
1
0
1
I just went through this issue and thought I should share. This seems more like a motherboard issue than a proxmox/networking one but I'm pretty inexperienced w/ linux.

TL/DR: adding second nvme drive to server caused the network interface names to change by +1 each making the webui unreachable - fix by changing the names in /etc/network/interfaces and restarting the network service.

Bug:
I have 2 nvme drives that were purchased at different times. One already in operation w/ the system and the other to be installed. When the second nvme drive was installed the webui would be unreachable. Did not matter in which order the nvme drives were placed, it would still mess up.

Fix:
Viewed my network interfaces:
$ nano /etc/network/interfaces

took note that the two interface names were enp39s0 and enp45s0 and the vmbro0 was pointing to enp45s0
then ran these two commands to view interface status:
$ ip -br -c link show
$ ip -br -c addr show

When these were ran, it showed the interface names as enp40s0 and enp46s0.
I then went back to /etc/network/interfaces and modified the file w/ the new info; so enp39s0 and enp45s0 and the vmbro0 pointing to enp45s0 --> enp40s0 and enp46s0 and the vmbro0 pointing to enp46s0 now

I then flushed the ip info on all interfaces and then restarted the networking service:
$ ip addr flush enp40s0
$ ip addr flush enp46s0
$ ip addr flush vmbr0
$ systemctl restart networking

This let me to be able to reach the webui once again.

This happened on my asrock x570 creator, I'm assuming some funky chipset stuff is going on as I'm fairly certain the first nvme slot goes to the cpu and the second goes to chipset.

Anywho hope this helps someone out.

Edit: spelling
 
Last edited:

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
7,392
1,187
164
Thanks for sharing your experience and the solution you found! This will certainly help others who also run into this issue!

The issue (sadly) happens quite often - some mainboards do change the pci-device enumeration, which then causes the described interaction with predicatble network interface names:
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

Please mark the thread as 'SOLVED' for better visibility.
 

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 your own in 60 seconds.

Buy now!