[ovs-discuss] VYOS under Libvirt connected to OpenVswitch as internal 8021q subinterfaces

Chris Boley ilgtech75 at gmail.com
Sun Mar 11 01:07:36 UTC 2018


Thanks!!

On Sat, Mar 10, 2018 at 7:44 PM Scott Lowe <scott.lowe at scottlowe.org> wrote:

>
> 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/20180311/f6b70c4d/attachment.html>


More information about the discuss mailing list