All of lore.kernel.org
 help / color / mirror / Atom feed
* Regarding vlan ingress filtering in linux
       [not found] <1359810174.19988.YahooMailNeo@web193304.mail.sg3.yahoo.com>
@ 2013-02-02 14:02 ` Akshat Kakkar
  2013-02-02 17:53   ` Rami Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Akshat Kakkar @ 2013-02-02 14:02 UTC (permalink / raw)
  To: netdev

Hi,


Can you please help in providing info regarding vlan ingress filtering in linux? I assume it should be configurable per port basis.
I tried a lot on google, and all but was unable to find.

Please help ...

Thanks and regards
- Akshat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regarding vlan ingress filtering in linux
  2013-02-02 14:02 ` Regarding vlan ingress filtering in linux Akshat Kakkar
@ 2013-02-02 17:53   ` Rami Rosen
  2013-02-03  9:39     ` Akshat Kakkar
  0 siblings, 1 reply; 3+ messages in thread
From: Rami Rosen @ 2013-02-02 17:53 UTC (permalink / raw)
  To: Akshat Kakkar; +Cc: netdev

Hi,
If you are talking about disabling or setting rx vlan filter
offloading parameter, the latest ethtool (from git) has this:

./ethtool -k p2p1
....
rx-vlan-filter: off [fixed]
....

But it seems to me that in order to set it (by "ethtool -K p2p1
rx-vlan-filter on") you need special support
from the device driver.

regards,
Rami Rosen
http://ramirose.wix.com/ramirosen




On Sat, Feb 2, 2013 at 4:02 PM, Akshat Kakkar <the_akshat@yahoo.co.in> wrote:
> Hi,
>
>
> Can you please help in providing info regarding vlan ingress filtering in linux? I assume it should be configurable per port basis.
> I tried a lot on google, and all but was unable to find.
>
> Please help ...
>
> Thanks and regards
> - Akshat
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regarding vlan ingress filtering in linux
  2013-02-02 17:53   ` Rami Rosen
@ 2013-02-03  9:39     ` Akshat Kakkar
  0 siblings, 0 replies; 3+ messages in thread
From: Akshat Kakkar @ 2013-02-03  9:39 UTC (permalink / raw)
  To: Rami Rosen; +Cc: netdev

Hi,
Thanks for the reply.

I have following 4 different and independent requirements. How can I achieve this???

1.) There is no vlan on eth0 and I want any vlan tagged traffic on eth0 should not be processed.

2.) There is no vlan on eth0 and I want any vlan tagged traffic on eth0 should be processed as if it doesn't have any tag.

3.)
 There is vlan 10 on eth0 with inteface name as eth0.10. If there is any
 untagged traffic on eth0, it should be processed as if it belongs to 
vlan10.

4.) There is vlan 10 on eth0 with inteface name as eth0.10. If there is any 
untagged traffic on eth0, it should not be processed.


Any help will be highly appreciated?

Thanks and Regards,
-Akshat




----- Original Message -----
From: Rami Rosen <roszenrami@gmail.com>
To: Akshat Kakkar <the_akshat@yahoo.co.in>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Sent: Saturday, 2 February 2013 11:23 PM
Subject: Re: Regarding vlan ingress filtering in linux

Hi,
If you are talking about disabling or setting rx vlan filter
offloading parameter, the latest ethtool (from git) has this:

./ethtool -k p2p1
....
rx-vlan-filter: off [fixed]
....

But it seems to me that in order to set it (by "ethtool -K p2p1
rx-vlan-filter on") you need special support
from the device driver.

regards,
Rami Rosen
http://ramirose.wix.com/ramirosen




On Sat, Feb 2, 2013 at 4:02 PM, Akshat Kakkar <the_akshat@yahoo.co.in> wrote:
> Hi,
>
>
> Can you please help in providing info regarding vlan ingress filtering in linux? I assume it should be configurable per port basis.
> I tried a lot on google, and all but was unable to find.
>
> Please help ...
>
> Thanks and regards
> - Akshat
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-03  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1359810174.19988.YahooMailNeo@web193304.mail.sg3.yahoo.com>
2013-02-02 14:02 ` Regarding vlan ingress filtering in linux Akshat Kakkar
2013-02-02 17:53   ` Rami Rosen
2013-02-03  9:39     ` Akshat Kakkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.