productivity
Moving Proxmox to a second NIC
I play around with Proxmox on my Intel NUC from time to time. The hardware has a bug with the LAN port, so I bought a USB Ethernet adapter as a workaround.
So far so good, but how do you get Proxmox to switch over to the new adapter?
- Look for the name of your new interface:
ip link show
. - Look for anything that hasn’t been there before. In my case, the adapter got named ‘enx6c1ff72307f6’.
- Open up the network interfaces config:
vi /etc/network/interfaces
- Make sure you have a config line for your new interface in there:
I already found that in there, so I assume Proxmox added that automatically.iface enx6c1ff72307f6 inet manual
- Look for your
vmbr0
config. It’s along the lines ofiface vmbr0 inet
and contains an indented commandbridge-ports ...
that will show another interface:# I have a static IP assigned. This might differ from your setup if you are # using DHCP iface vmbr0 inet static address 192.168.1.242/24 gateway 192.168.1.1 # Here's the old interface: bridge-ports enp89s0 bridge-stp off bridge-fd 0
- Replace the existing interface
enp89s0
with your new one:bridge-ports enx6c1ff72307f6
- Save, exit and reboot the server
That worked for me nicely.