Skip to contentSkip to conversation

HTB and IP tables

LARTC James Ma 3 participants 4 messages Dec 2, 2002 – Dec 3, 2002

lore
Share & tools
lore

James Ma

author
#0 lore raw

Hi, All,

Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat?

Thanks in advance,

James

#1 lore raw

have a look at this: at the end there is a script using htb marking packets with iptables
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/
I don't know if it is working with red hat (i don't know which options red hat ships it's kernel with. If you use 2.4.20 you need a patch only for IMQ - needed in the script for ingress traffic controlling).

andrea

Quoted 10 lines · James Ma

Hi, All,

Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat?

Thanks in advance,

James

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to James Ma
Quoted 5 lines · James Ma

Hi, All,

Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat?

The default redhat kernel should be fine.
And for scripts, see www.docum.org. I use iptables to filter packets anr mark them. The mark is used in the htb setup to classify the pacjets.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to James Ma
Quoted 5 lines · James Ma

Hi, All,

Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat?

I have some working scripts on www.docum.org
And I think RedHat has the needed htb support in the kernel, but not in the iproute2 package.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/