3

This is a snippet from configuration file created using qemu-kvm management tool. How do I create the same config using VMM or virsh?

[net]
  type = "nic"

[net]
  type = "tap"
  script = "/etc/ovs-ifup"
  downscript = "/etc/ovs-ifdown"
Charles
  • 50,943
  • 13
  • 104
  • 142
Bruce
  • 33,927
  • 76
  • 174
  • 262

1 Answers1

3

This configuration file indicates that you're using OpenVSwitch to manage virtual network ports for you KVM virtual machines.

Refer to this article for howtos and how it creates/destroy virtual network ports.

You can use this command to create and then enable new tap device vnetX: ip tuntap add dev vnetX mode tap ip link set up dev vnetX

shawnzhu
  • 7,233
  • 4
  • 35
  • 51