On Mon, Apr 17, 2017 at 10:51:08AM -0400, Eric Garver wrote: > On Mon, Apr 17, 2017 at 01:26:37PM +0800, Dickens Yeh wrote: > > Hello, > > I have a problem with matching ethertype when the packet with vlan tags. > > My testing environment is Ubuntu 16 in vmware fusion, mininet 2.2.2rc1, > > openvswitch 2.7.90 > > > > With these cases: > > case 1: packet with vlan=100,ethertype=arp > > case 2: packet with vlan=2000,vlan=100,ethertype=arp > > > > The result of cases: > > case 1 can be matched by vlan=100 and ethertype=arp fields in a flow entry > > case 2 can be matched only by vlan=2000 and ethertype=0x8100 fields in a > > flow entry > > > > But I read some informations from OpenFlow Spec 1.1, that says about "match > > ethertype after all vlan tags". > > Is the resulf of case 2 should be matched vlan=2000 and ethertype=arp? > > Until very recently openvswitch only supported a single VLAN tag. > Current master branch has support for 802.1ad/QinQ and can match the ARP > EtherType as you wish in case 2 above.
I think that OVS still doesn't have the ability to match multiple VLAN tags in a single flow entry. I think that you have to match one, then pop it and match the second one in another flow lookup. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
