I'm aware of how to define an edge port under the libvirt network XML file
and make that guest VM assign itself to the openvswitch as an access port
assigned to a specific vlan like:

On a cisco switch this:

<portgroup name='vnic3-tag3'>
      <tag id='3'/>

 is the equivalent of:

switchport mode access
switchport access vlan 3

So this:
<portgroup name='TRUNK1'>
    <vlan trunk='yes'>
      <tag id='2'/>
      <tag id='3'/>

 is the equivalent of:

switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 2,3

So I could create dot1q based subinterfaces on a guest VM interface
with the ( vlan trunk='yes' ) syntax?

Would that assumption be correct?

I was thinking VyOS in router-on-a-stick topology just in case anybody
wants to know why I'm asking.

discuss mailing list

Reply via email to