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