how to configure isolated mode to routed mode for network interface in virsh

asked 2016-07-08 03:18:41 -0500

genie gravatar image

updated 2016-07-08 03:21:06 -0500

i am trying to use openvpn for virtual machine to connect between different project in openstack

openvpn server and one of openvpn client in the same project and another openvpn client in another project.

when configure the xml config in virsh for openvpn server instance

and find example in this link not the same as the syntax in the xml in virsh

i tried to change bridge to routed or route, it can not be saved and have error

  <controller type='pci' index='0' model='pci-root'/>
    <interface type='bridge'>
      <mac address='xxxxxxxxxxxxxxxxxx'/>
      <source bridge='qbr4dc09a3b-a4'/>
      <target dev='tap4dc09a3b-a4'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
edit retag flag offensive close merge delete