Kvm change guest vlan

From Asenjo
Revision as of 23:15, 14 January 2013 by Natxo (Talk | contribs) (Created page with "To change the vlan interface on kvm vm without a reboot you need to use virsh. Here an example with a Windows guest vm: * 1st remove nic: <code><pre> virsh # detach-interface...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To change the vlan interface on kvm vm without a reboot you need to use virsh. Here an example with a Windows guest vm:

  • 1st remove nic:
virsh # detach-interface win2k8 --type bridge
Interface detached successfully
  • then add nic with eventually the same mac address:
virsh # attach-interface win2k8 --type bridge --source br_v10 --mac 52:54:00:73:00:6e
Interface attached successfully