Re: Marking frames with ebtables for iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver Graute a écrit :
> 
> I just tried a "simple" example with "mac" match to understand the
> ebtables/iptables mix.
> But the real goal is to mark frames coming from a tagged port with a
> 3-bit PCP Field.(IEEE 802.1p/ 802.1Q)
> Later on I want to proceed these marked frames on IP-Layer to
> set some ToS Bits. How is that done?

I don't know what the PCP field is. Is it the same as the 3-bit user
priority field in a IEEE 802.1Q header ? If so, you can use the vlan
match in ebtables.

To set TOS bits with iptables, you can use the TOS or DSCP target.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux