How to create crane devices with virsh?

This is a snippet from a configuration file generated with the 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"

      

+3


source to share


1 answer


This configuration file specifies that you are using OpenVSwitch to manage virtual network ports for KVM virtual machines.

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



You can use this command to create and then enable a new responder device vnetX

: ip tuntap add dev vnetX mode tap

ip link set up dev vnetX

+3


source







All Articles