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

2017-04-20 Thread Dickens Yeh
Okay, thanks for your response. 2017-04-18 23:49 GMT+08:00 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 t

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 t

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 exampl

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

2017-04-18 Thread Eric Garver
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 tags in multiple vlan, my > question is matching the first vlan tag and

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

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

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

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

2017-04-17 Thread Eric Garver
On Mon, Apr 17, 2017 at 09:35:26AM -0700, Ben Pfaff wrote: > 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 env

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

2017-04-17 Thread Ben Pfaff
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, > > openvsw

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

2017-04-17 Thread Eric Garver
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,ether

[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 o