Yes, I use the master branch and set with vlan-limit=0. The line 362 says "e.g. a packet with more 802.1q headers will match Ethernet type 0x8100." Is that means OVS will keep match 0x8100 that not the defined from OpenFlow spec or maybe will be fixed with maybe next version?
best wishes, Dickens Yeh 2017-04-17 22:51 GMT+08:00 Eric Garver <[email protected]>: > 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. > > To use it you'll have to build from master and set vlan-limit=2 or > vlan-limit=0. > See https://github.com/openvswitch/ovs/blob/master/ > vswitchd/vswitch.xml#L362 > > > > > > > Thanks for your reply. > > > > best wishes, > > Dickens Yeh > > > _______________________________________________ > > discuss mailing list > > [email protected] > > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
