[ovs-discuss] VYOS under Libvirt connected to OpenVswitch as internal 8021q subinterfaces
Scott Lowe
scott.lowe at scottlowe.org
Sun Mar 11 00:44:22 UTC 2018
> On Mar 10, 2018, at 12:27 PM, Chris Boley <ilgtech75 at gmail.com> wrote:
>
> 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'>
> <vlan>
> <tag id='3'/>
> </vlan>
> </portgroup>
>
> 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'/>
> </vlan>
> </portgroup>
>
> 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?
Yes.
--
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180310/649e1a88/attachment.html>
More information about the discuss
mailing list