Re: [Ebtables-devel] ebtables, pppoe and traffic control
Brought to you by:
bdschuym
From: Bart De S. <bds...@pa...> - 2007-02-13 19:57:40
|
Op di, 13-02-2007 te 16:44 +0800, schreef Ming-Ching Tiew: > For example, normal tc script :- > > tc filter add dev ppp0 parent 1:0 prio 10 u32 \ > match ip tos 0x10 0xff \ > flowid 1:4 > > This will work on a ppp0 device because the ppp0 has ip packets flowing > through it. Now in my bridge, there is no such device, I only have access to > eth0 > or eth1, how could I perform the same thing on devices such as eth0 or eth1, > but > matching the ip TOS setting inside the pppoe frame ? > > It seems somebody is already asking for ebtables to deal extra things for > pppoe. > But I wonder if my objective can be met with the help of ebtables ? Ebtables can't help you with tc since they are quite unrelated. If you can do what you want using iptables then there's hope for you since someone recently wrote a patch to support ipv4 encapsulated in pppoe. If you need tc, then the tc code needs to be altered which will probably be not so easy (I don't know the tc implementation though). cheers, Bart |