[ovs-discuss] Behaviour of OVS for VLAN id 0.

Ben Pfaff blp at nicira.com
Thu Nov 17 07:25:35 UTC 2011


On Thu, Nov 17, 2011 at 12:17:22PM +0500, Aimal Khan wrote:
> On Thu, Nov 17, 2011 at 11:49 AM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > On Thu, Nov 17, 2011 at 11:49:33AM +0500, Aimal Khan wrote:
> > > I am having some issues in understanding how OVS deals with VLAN id = 0.
> > > (Using ovs v1.2.0 and NOX).
> > >
> > > For example: I have the following flow in the switch:
> > >
> > > cookie=0x0, duration=7.931s, table=0, n_packets=0, n_bytes=0,
> > > dl_vlan=0,dl_vlan_pcp=0 actions=output:3
> > > (only VLAN and VLAN priority are set.)
> > >
> > > What values of *vlan id* and *vlan pcp* of an inbound packet will allow
> > it
> > > to match successfully with the flow given above?
> > > I have tried tagged (vlan id = 0 and vlan pcp = 0) and untagged packets;
> > > the packets were NOT successfully matching the flow described above.
> >
> > This flow should match a packet tagged with vlan id 0, vlan pcp 0.
>
> That was my first guess as well but I have tested it with packets
> having *vlan id*=0 and *vlan pcp*=0 (several times actually) and I am
> unable to get this result.

Can you describe your test for us?



More information about the discuss mailing list