[SOLVED] Moving vmbr0 to different NIC does not work

prahn

Active Member
Dec 19, 2020
67
5
28
49
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!