thanks for your help. but i am not that much used to tc. i use tcng. so
how should i write that in tcng?
Anton Glinkov wrote:
If they are all on the same ethernet device, you can match them with:
tc filter add dev ${DEVICE} parent 1: protocol all u32 \
match u16 0x8864 0x at -2 flowid 1:${I
If they are all on the same ethernet device, you can match them with:
tc filter add dev ${DEVICE} parent 1: protocol all u32 \
match u16 0x8864 0x at -2 flowid 1:${ID}
8864 is the PPP session ethernet protocol
you can play around with u32 if you want to match tos or ports and stuff..
> helo
Hello again Rani,
: helo again. I think this question i am asking is worth:
:
: we know that pppoe-server creates a pppX device on each
: connection done to it. So, when i have to shape, i have to shape
: each pppX connection device on itself alone. What i know is that
: the borrowing m
hi, i use the roaringpenguin pppoe-server and limit the bandwidth per
interface with this script:
(im using freeradius plugins too, thats the reason of the
/var/run/radattr.pppx file)
(/etc/ppp/ip-up.d/0pppx_up)
#!/bin/sh
DOWN=`cat /var/run/radattr.$1 | grep 'RP-Downstream-Speed-Limit' | cut
Hello Rani,
: i am currently now serving PPPoE in my area. i had a script
: generated from tcng that worked perfectly before i started
: serving PPPoE. the issue is not in the script it self BUT in that
: "tc" code is not shaping on the ethernet anymore BUT INSTEAD on
: the pppX devices.