NIC Devices

  • Thread starter Thread starter thefool808
  • Start date Start date
T

thefool808

Guest
On KVM machines we should be able to change the bridge that a guest's NIC is on without deleting and then recreating the device (i.e. changing it's MAC address). For example, I would like to be able to switch back and forth between using a vmbr device to using the NAT device.
 
I guess the easiest way is to edit the config file directly:

# vi /etc/qemu-server/xxx.conf

the nic config line looks like:

vlan0: ......

just change vlan0 to vlan1 (see the qm manual page) to change the bridge (vlan0 = bridge0, vlan1 = bridge1, vlanu = NAT)

- Dietmar
 

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!