ebtables, pppoe and traffic control
"Ming-Ching Tiew" <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <022d01c74f4b$2588c3d0$0100a8c0@MingChing> |
I have a requirement which I don't think it's too fancy but there is
probably no off-hand ready solution to it. I would need some
advise on the subject matter.
I have made myself a Linux-based bridge, eth0 bridged with
eth1 to form br0.
In this bridge, I run 'tc' script to handle QoS.
So far nothing unusual.
However, what's different is that this bridge is sitted in between a pppoe
client
and pppoe server, ie pppoe frames are bridge between the Linux bridge, and
I am interested to perform QoS on the pppoe frames, based on the ip tos
setting of the ppp packets ( I presume the ip is encapsulated inside the
pppoe frames ?).
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 ?
Best regards.
-------------------------------------------------------------------------
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