Re: ebtables, pppoe and traffic control

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
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



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.