LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Matthew Moyle-Croft <mmc@mmc.com.au>
  To  : Ryan Verner <xfesty@computeraddictions.com.au>
  Date: Tue, 08 Jul 2003 22:32:51 +0930

Re: ADSL Shaper

yeah $DEV.

you can tell it's my script I've been messing with!

I really should have put more effort into this before "publishing".

MMC

Ryan Verner wrote:
> Matthew,
> 
> 
>>tc filter add dev eth1 parent 1:0 protocol ip prio 5 handle 5 fw 
>>classid 1:5 tc filter add dev eth1 parent 1:0 protocol ip prio 10 
>>handle 10 fw classid 1:10 tc filter add dev eth1 parent 1:0 protocol 
>>ip prio 15 handle 15 fw classid 1:15
> 
> 
> is eth1 meant to be $DEV?
> 
> R
>  
> 
>>You can add more of these and it'll create more levels - it's the 
>>handle bit which maps the mark from iptables onto the class!
>>
>>MMC
>>
>>David Lloyd wrote:
>>
>>>-----BEGIN PGP SIGNED MESSAGE-----
>>>Hash: SHA1
>>>
>>>
>>>Ok, 
>>>
>>>Stupid question (warning, I'm a newbie ;-P).
>>>
>>>I can see that the iptables script marks the packets but I can't see how
>>>the "tc" stuff picks the various marked packets.
>>>
>>>I.E. How does the "tc" pick up the marks 0x05 and 0xf?
>>>
>>>
>>>DSL
>>>-----BEGIN PGP SIGNATURE-----
>>>Version: GnuPG v1.2.2 (GNU/Linux)
>>>
>>>iD8DBQE/CqK0mk7m2JX6ki4RAv6HAJ9fwufjIEcO/5dzhp8xEwelTi/DYgCdFv7v
>>>Idqm4sexTiukDCvb3KkcBB8=
>>>=tf/J
>>>-----END PGP SIGNATURE-----
>>>
>>
>>-- 
>>LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
>>To unsubscribe from the LinuxSA list:
>>  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
> 
> 
> 
> --
> Open WebMail Project (http://openwebmail.org)
> 


-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page