I'm attempting to test OVS as a gateway between VLAN and MPLS networks, starting with forwarding frames from one physical port to another. What I have observed is that I can't make a rule that matches on VLAN ID (or dl_type=0x8100) when running userspace datapath.
Is this the expected behavior with userspace datapath? # # this works with kernel space datapath (match VLAN ID, POP or SWAP VLAN TAG): # ovs-ofctl add-flow br0 priority=100,in_port=1,dl_vlan=101,action=strip_vlan,output:2 ovs-ofctl add-flow br0 priority=200,in_port=1,dl_vlan=101,action=mod_vlan_vid:201,output:2 # # and this works with userspace datapath (POP VLAN, PUSH MPLS): # ovs-vsctl set bridge br0 datapath_type=netdev ovs-ofctl del-flows br0 ovs-ofctl add-flow br0 priority=200,in_port=1,action=strip_vlan,push_mpls:0x8847,set_mpls_label:123,output:2 # # but this doesn't work (no packets are received from port 2) # match VLAN ID, POP VLAN, PUSH MPLS # ovs-vsctl set bridge br0 datapath_type=netdev ovs-ofctl del-flows br0 ovs-ofctl add-flow br0 priority=300,in_port=1,dl_vlan=101,action=strip_vlan,push_mpls:0x8847,set_mpls_label:123,output:2 # # nor does matching on dl_type=0x8100 work in userspace # ovs-ofctl add-flow br0 priority=500,in_port=1,dl_type=0x8100,action=strip_vlan,push_mpls:0x8847,set_mpls_label:123,output:2 Am I missing something here?
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss