Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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

and find example in this link not the same as the syntax in the xml in virsh https://libvirt.org/formatnetwork.html#examplesRoute

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'/>
    </interface>

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

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

and find example in this link not the same as the syntax in the xml in virsh https://libvirt.org/formatnetwork.html#examplesRoute

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'/>
    </interface>

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

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 https://libvirt.org/formatnetwork.html#examplesRoute

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'/>
    </interface>