Re: [vpp-dev] QinQ and dot1ad any

2019-12-19 Thread Jon Loeliger via Lists.Fd.Io
On Wed, Dec 18, 2019 at 2:38 PM John Lo (loj) wrote: > Hi Jon, > > > > You are right on both counts. It is the combination of dot1q/ad-any and > exact-match that we should reject. It is also correct the check should be > at lower level to reject the combination for both API and CLI. > > > >

Re: [vpp-dev] QinQ and dot1ad any

2019-12-18 Thread John Lo (loj) via Lists.Fd.Io
AM To: John Lo (loj) Cc: Raj ; vpp-dev Subject: Re: [vpp-dev] QinQ and dot1ad any On Tue, Dec 17, 2019 at 8:13 AM John Lo (loj) via Lists.Fd.Io<http://Lists.Fd.Io> mailto:cisco@lists.fd.io>> wrote: Thus, sub-interface with "inner-dot1q any" is not an exa

Re: [vpp-dev] QinQ and dot1ad any

2019-12-18 Thread John Lo (loj) via Lists.Fd.Io
ave missed. Regards, John -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Raj Sent: Wednesday, December 18, 2019 8:32 AM To: vpp-dev Subject: Re: [vpp-dev] QinQ and dot1ad any On Tue, Dec 17, 2019 at 7:43 PM John Lo (loj) wrote: > Without exact match on a L3 sub-i

Re: [vpp-dev] QinQ and dot1ad any

2019-12-18 Thread Jon Loeliger via Lists.Fd.Io
On Tue, Dec 17, 2019 at 8:13 AM John Lo (loj) via Lists.Fd.Io wrote: > > Thus, sub-interface with "inner-dot1q any" is not an exact match > sub-interface by definition since no match is present on inner tag. > > I suppose the CLI: > >> create sub-interfaces GigabitEthernet3/0/3 50 dot1ad 50

Re: [vpp-dev] QinQ and dot1ad any

2019-12-18 Thread Raj
On Tue, Dec 17, 2019 at 7:43 PM John Lo (loj) wrote: > Without exact match on a L3 sub-interface, VPP has no mechanism to know what > VLAN tags > to use for packet output, such as ARP request packets or IP packets, on that > sub-interface. For a big QinQ network (like say about 8 - 10 S-VLAN

Re: [vpp-dev] QinQ and dot1ad any

2019-12-17 Thread Raj
d ideally fix in the CLI to avoid > any confusion with the meaning of exact match. > > Regards, > John > > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Tuesday, December 17, 2019 4:39 AM > To: vpp-dev > Subject: [vpp-dev] QinQ and do

Re: [vpp-dev] QinQ and dot1ad any

2019-12-17 Thread John Lo (loj) via Lists.Fd.Io
019 4:39 AM To: vpp-dev Subject: [vpp-dev] QinQ and dot1ad any Hello all, When an interface is created using a command like: create sub-interfaces GigabitEthernet3/0/3 50 dot1ad 50 inner-dot1q any exact-match I can see that dual tagged packets with outer vlan 50 will be accepted by that interf

[vpp-dev] QinQ and dot1ad any

2019-12-17 Thread Raj
Hello all, When an interface is created using a command like: create sub-interfaces GigabitEthernet3/0/3 50 dot1ad 50 inner-dot1q any exact-match I can see that dual tagged packets with outer vlan 50 will be accepted by that interface. But how does a packet goes out from this interface? Is