[SOLVED] Moving vmbr0 to different NIC does not work

Dec 19, 2020
67
4
13
48
Hi!

I am just migrating my cluster from local ZFS storage to CEPH storage, so I bought a new node and create a completely new cluster. However, after the setup of my second node in the new cluster, I am not able to move the vmbr0 to a different NIC.

I have two onboard NICs which will be used for the CEPH network and I have a PCIe card with two additional interfaces, one of them will be for VM traffic and for the management interface. During the install eno0 was configured for vmbr0, after that I connected the cable to the LAN switch to the other interface and changed the file /etc/network/interfaces to use enp1s0f0 but this does not work?! Looking at ethtool enp1s0f1 I even saw Link detected: yes, but the pve host does not have any connection to LAN. Of course I did a systemctl restart networking after doing the changes.

After moving the cable back to the on-board interface and resetting the interfaces file, everything is back to work.
Am I too stupid? Anybody has any idea, what's missing here??
 
Last edited:
Hi,

What say the `ifreload -a` command after you changed the network configuration?

may you also post the output of `ip a` and the network configuration `cat /etc/network/interfaces`?
 
Hi Moayad!
Thanks for your reply... your questions lead my thoughts to a solution and I solved it on my own:
After switching the cable to the other NIC, I need to excute an "ifup enp1s0f1", then my network traffic finally flows through the other network interface!
 

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!