* Untagged Frames @ 2011-06-17 21:06 Jonathan Tripathy 2011-06-18 8:29 ` Pascal Hambourg 0 siblings, 1 reply; 3+ messages in thread From: Jonathan Tripathy @ 2011-06-17 21:06 UTC (permalink / raw) To: netfilter Hi Everyone, Does ebtables have the facility to make sure that any frames entering a bridge must be untagged (i.e. have no 802.1q tag)? Thanks ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Untagged Frames 2011-06-17 21:06 Untagged Frames Jonathan Tripathy @ 2011-06-18 8:29 ` Pascal Hambourg [not found] ` <46C13AA90DB8844DAB79680243857F0F0B005A@server1.ABPNI.local> 0 siblings, 1 reply; 3+ messages in thread From: Pascal Hambourg @ 2011-06-18 8:29 UTC (permalink / raw) To: Jonathan Tripathy; +Cc: netfilter Hello, Jonathan Tripathy a écrit : > > Does ebtables have the facility to make sure that any frames entering a > bridge must be untagged (i.e. have no 802.1q tag)? I guess that it can be done by matching the 802.1q ethertype 0x8100. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <46C13AA90DB8844DAB79680243857F0F0B005A@server1.ABPNI.local>]
* Re: Untagged Frames [not found] ` <46C13AA90DB8844DAB79680243857F0F0B005A@server1.ABPNI.local> @ 2011-06-18 9:12 ` Pascal Hambourg 0 siblings, 0 replies; 3+ messages in thread From: Pascal Hambourg @ 2011-06-18 9:12 UTC (permalink / raw) To: Jonathan Tripathy; +Cc: netfilter Jonathan Tripathy a écrit : >> >> Does ebtables have the facility to make sure that any frames entering a >> bridge must be untagged (i.e. have no 802.1q tag)? > > I guess that it can be done by matching the 802.1q ethertype 0x8100. > > ------------------------------------------------------------------------------ > > So I'm guessing if I only wanted to allow untagged frames going into my > bridge, I could do: > > ebtables -I FORWARD -p ! 0x8100 -i <IF of port connected to bridge> -j > ACCEPT FORWARD = frames going through the bridge, not all frames entering it. > Is that correct? I don't need to use physdev (like I do in iptables) or > anything, do I? -i in ebtables is the same as --physdev-in in iptables : both are used to match the bridge port (physical interface). If you want to match the logical bridge interface, use --logical-in in ebtables or -i in iptables. PS : You should avoid sending HTML to the mailing list. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-18 9:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 21:06 Untagged Frames Jonathan Tripathy
2011-06-18 8:29 ` Pascal Hambourg
[not found] ` <46C13AA90DB8844DAB79680243857F0F0B005A@server1.ABPNI.local>
2011-06-18 9:12 ` Pascal Hambourg
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.