Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Hot-plugging interfaces on the KVM platform

On the KVM virtualization platform, perform the following steps to hot-plug a network interface into a vRouter :
  1. Add an Ethernet network interface.
  2. On the host KVM system, create an XML file that specifies the following information:
    • Interface type.

    • MAC address of the interface. You must ensure that this address is unique.

    • Label or name of the network device to which your router is connected.

    • (Optional) Virtualized PCI slot to which the interface is plugged.

    • Model type.

    For more information about the contents of the XML file, refer to XML file contents.

  3. Use the virsh attach-device <vm-name> [--persistent] <xml-filename> command to hot-plug the interface into the router.
    Note: The virsh attach-device command does not check whether a MAC address is already assigned to another network interface. As a result, if you assign the same MAC address to multiple network interfaces and try to configure them, a vRouter might display error messages. To avoid these error messages, ensure that the MAC addresses you assign to hot-plugged interfaces are unique.