Re: [ovs-discuss] match ethertype when packet with multiple vlan tags

2017-04-18 Thread Ben Pfaff
On Tue, Apr 18, 2017 at 10:29:50AM -0400, Eric Garver wrote: > On Tue, Apr 18, 2017 at 12:17:17PM +0800, Dickens Yeh wrote: > > Thanks for your response. > > I know that if I have to match multiple vlan tags, it have to pop the outer > > vlan. > > But I think my question are not the matching vlan

Re: [ovs-discuss] match ethertype when packet with multiple vlan tags

2017-04-18 Thread Eric Garver
On Tue, Apr 18, 2017 at 12:22:56PM +0800, Dickens Yeh wrote: > 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." This applies if the number of VLAN tags exceeds the value of vlan-limit. For

Re: [ovs-discuss] match ethertype when packet with multiple vlan tags

2017-04-17 Thread Dickens Yeh
Thanks for your response. I know that if I have to match multiple vlan tags, it have to pop the outer vlan. But I think my question are not the matching vlan tags in multiple vlan, my question is matching the first vlan tag and the correct ethertype that OpenFlow Spec defined ( the ethertype after

[ovs-discuss] match ethertype when packet with multiple vlan tags

2017-04-16 Thread Dickens Yeh
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