> On Mar 10, 2018, at 12:27 PM, Chris Boley <[email protected]> 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

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to