[ovs-discuss] Vlan Tagged packets switching issue

Ben Pfaff blp at ovn.org
Fri Aug 19 13:59:28 UTC 2016


On Fri, Aug 19, 2016 at 03:10:01PM +0200, james hopper wrote:
> Hey everyone,
> I have a small test setup in which Router-1 <---> OVS-2.5 <-----> Router-2 I
> want OVS to switch packets between two interfaces seamlessly. However, I am
> facing issue in switching Vlan tagged packets whereas untagged traffic is
> passing without any issue. I have used very simple two rules as mentioned
> below. Can anyone point me what I am missing here ?
>  
> ovs-ofctl add-flow br0 table=0, in_port=1,action=output:2 
> ovs-ofctl add-flow br0 table=0, in_port=2,action=output:1
>  
> I have made both ports (1 and 2 trunk ports)
>  
> ovs-vsctl set port eth1 trunks=0,10,20
> ovs-vsctl set port eth2 trunks=0,10,20

There are two issues here.  First, VLAN 0 includes untagged traffic.
Second, "trunks" affects only the behavior of the "normal" action.  It
does not influence other OpenFlow matches or actions in any way.



More information about the discuss mailing list