[LARTC] how to write in tcng this PPPoE filter?

Rani Ahmed rani79 at idm.net.lb
Mon Jun 5 08:45:46 CEST 2006


can some one please how to transform this into TCNG code?

tc filter add dev ${DEVICE} parent 1: protocol all u32 \
match u16 0x8864 0xFFFF at -2 flowid 1:${ID}

8864 is the PPP session ethernet protocol


the above code is used to shape all PPPoE traffic on the same device so 
this way
i can make use of  the borrowing facilty which is not given by PPPoE.
PPPoE gives me each time a device => each device is an independent 
device and an independent queue => no borrowing at all.

thanks.


More information about the LARTC mailing list