Skip to contentSkip to conversation

Configuration of CBQ

LARTC Awie 2 participants 4 messages Apr 27, 2003 – Apr 28, 2003

lore
Share & tools
lore

Awie

author
#0 lore raw

All,

I plan to config my network by using CBQ (Attached the configuration files). I want to do a packet prioritization instead traffic shaping (perhaps in the future I will need it).

The result that I want :

1. HTTP gets the 1st priority
2. SMTP and some other packet get the 2nd
3. FTP gets the 3rd

Should I configure the "priority default"? (I did it in Cisco router, last time)

Your answer is very appreciated. Many thanks for your help.

Rgds,

Awie

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

author
#1 lore raw

Sorry to forget informing that I used CBQ.init

Thx & Rgds,

Awie

----- Original Message -----
From: "Awie" <[email protected]>
To: <[email protected]>
Sent: Sunday, April 27, 2003 10:52 PM
Subject: [LARTC] Configuration of CBQ

Quoted 3 lines

All,

I plan to config my network by using CBQ (Attached the configuration

files).

Quoted 1 line

I want to do a packet prioritization instead traffic shaping (perhaps in

the

Quoted 15 lines

future I will need it).

The result that I want :

1. HTTP gets the 1st priority
2. SMTP and some other packet get the 2nd
3. FTP gets the 3rd

Should I configure the "priority default"? (I did it in Cisco router, last time)

Your answer is very appreciated. Many thanks for your help.

Rgds,

Quoted 8 lines

Awie

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

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

#2 lore raw
In reply to Awie
Quoted 8 lines · Awie

All,

I plan to config my network by using CBQ (Attached the configuration files). I want to do a packet prioritization instead traffic shaping (perhaps in the future I will need it).

The result that I want :

Quoted 8 lines

1. HTTP gets the 1st priority
2. SMTP and some other packet get the 2nd
3. FTP gets the 3rd

Should I configure the "priority default"? (I did it in Cisco router, last time)

Your answer is very appreciated. Many thanks for your help.

What do you mean with priority?? Do you mean that all HTTP traffic should be send first? If you do, then you a big download can kill all FTP or SMTP traffic. To prevent this, you have to shape the traffic.

Isn't it better to say that http can always use at least 60% of the link? If there is no other traffic, HTTP can use 100%. Ftp can use 100% traffic, but of there is other traffic, it will fal back to 10.

So something like this:
HTTP : 60 %
SMTP : 30 %
FTP : 10 %

Traffic that can use a higher priority is real-time traffic like telnet, ssh or traffic that needs low delays like ACK.

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/
author
#3 lore raw
In reply to Awie

Stef,

Thanks for your advise, it should be a better idea than mine.

Anyway, how can I make that config? Here I attach my config, but I think it is still not a correct one.

Thx & Rgds,

Awie

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Awie" <[email protected]>; <[email protected]>
Sent: Sunday, April 27, 2003 11:25 PM
Subject: Re: [LARTC] Configuration of CBQ

Quoted 7 lines · Awie
Quoted 6 lines

All,

I plan to config my network by using CBQ (Attached the configuration files). I want to do a packet prioritization instead traffic shaping (perhaps in the future I will need it).

Quoted 7 lines
Quoted 7 lines

The result that I want :

1. HTTP gets the 1st priority
2. SMTP and some other packet get the 2nd
3. FTP gets the 3rd

Should I configure the "priority default"? (I did it in Cisco router,

last

Quoted 4 lines
Quoted 3 lines

time)

Your answer is very appreciated. Many thanks for your help.

What do you mean with priority?? Do you mean that all HTTP traffic should

be

Quoted 4 lines

send first? If you do, then you a big download can kill all FTP or SMTP traffic. To prevent this, you have to shape the traffic.

Isn't it better to say that http can always use at least 60% of the link?

If

Quoted 1 line

there is no other traffic, HTTP can use 100%. Ftp can use 100% traffic,

but

Quoted 8 lines

of there is other traffic, it will fal back to 10.

So something like this:
HTTP : 60 %
SMTP : 30 %
FTP : 10 %

Traffic that can use a higher priority is real-time traffic like telnet,

ssh

Quoted 15 lines

or traffic that needs low delays like ACK.

Stef

--

[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/