netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iptables vlan and 802.1p marking is possible?
       [not found] <j2j624cd18a1004080256ic9aca654k14babd170dcfce40@mail.gmail.com>
@ 2010-04-08 10:30 ` Alessandro Fachin
  2010-04-08 11:58   ` Покотиленко Костик
  0 siblings, 1 reply; 3+ messages in thread
From: Alessandro Fachin @ 2010-04-08 10:30 UTC (permalink / raw)
  To: netfilter

Hi,
is it possibile marking  with iptables the traffic coming from tagged
port (802.1Q vlan)
that is using PCP, the 3-bit field which refers to the IEEE 802.1p priority?
I'm trying to do this for keep the correct priority until traffic arriveto tc.
Thanks for reply.
Regards.

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

* Re: iptables vlan and 802.1p marking is possible?
  2010-04-08 10:30 ` iptables vlan and 802.1p marking is possible? Alessandro Fachin
@ 2010-04-08 11:58   ` Покотиленко Костик
  2010-04-08 12:24     ` Alessandro Fachin
  0 siblings, 1 reply; 3+ messages in thread
From: Покотиленко Костик @ 2010-04-08 11:58 UTC (permalink / raw)
  To: Alessandro Fachin; +Cc: netfilter

В Чтв, 08/04/2010 в 12:30 +0200, Alessandro Fachin пишет: 
> Hi,
> is it possibile marking  with iptables the traffic coming from tagged
> port (802.1Q vlan)
> that is using PCP, the 3-bit field which refers to the IEEE 802.1p priority?

It seems you can mark vlan packet with ebtables using protocol 802_1Q
and --vlan-id, --vlan-prio matches, see man ebtables.

Then you might want to use those marks from iptables or directly from
tc.

> I'm trying to do this for keep the correct priority until traffic arriveto tc.
> Thanks for reply.
> Regards.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Покотиленко Костик <casper@meteor.dp.ua>


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

* Re: iptables vlan and 802.1p marking is possible?
  2010-04-08 11:58   ` Покотиленко Костик
@ 2010-04-08 12:24     ` Alessandro Fachin
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Fachin @ 2010-04-08 12:24 UTC (permalink / raw)
  To: Покотиленко Костик
  Cc: netfilter

Thanks for reply!

2010/4/8 Покотиленко Костик <casper@meteor.dp.ua>:
> В Чтв, 08/04/2010 в 12:30 +0200, Alessandro Fachin пишет:
>> Hi,
>> is it possibile marking  with iptables the traffic coming from tagged
>> port (802.1Q vlan)
>> that is using PCP, the 3-bit field which refers to the IEEE 802.1p priority?
>
> It seems you can mark vlan packet with ebtables using protocol 802_1Q
> and --vlan-id, --vlan-prio matches, see man ebtables.
>

I exactly found what I'm looking for "--vlan-prio". Thanks.

> Then you might want to use those marks from iptables or directly from
> tc.
>
>> I'm trying to do this for keep the correct priority until traffic arriveto tc.
>> Thanks for reply.
>> Regards.
>> --
>> To unsubscribe from this list: send the line "unsubscribe netfilter" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> Покотиленко Костик <casper@meteor.dp.ua>
>
>

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

end of thread, other threads:[~2010-04-08 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <j2j624cd18a1004080256ic9aca654k14babd170dcfce40@mail.gmail.com>
2010-04-08 10:30 ` iptables vlan and 802.1p marking is possible? Alessandro Fachin
2010-04-08 11:58   ` Покотиленко Костик
2010-04-08 12:24     ` Alessandro Fachin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).