Skip to contentSkip to conversation

shape traffice for each service

LARTC Dhaval Patel 3 participants 3 messages Dec 19, 2001

lore
Share & tools
lore
#0 lore raw

Hi, I would like to control the amount of bandwidth provided to each service. such as 40kbps max for ftp, 50kbps max for http and so on. Or perhaps 30% for ftp, 50% for http and so on. I think i remember reading something on the web which shows how to do that but I cannot find it anylonger. Can anyone point me to something? Thanks, I appreciate your help.

Dhaval

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

#1 lore raw
Quoted 5 lines · Dhaval Patel

Hi, I would like to control the amount of bandwidth provided to each service. such as 40kbps max for ftp, 50kbps max for http and so on. Or perhaps 30% for ftp, 50% for http and so on. I think i remember reading something on the web which shows how to do that but I cannot find it anylonger. Can anyone point me to something? Thanks, I appreciate your help.

You need to put packets in classes based on firewall marks, most likely.
I do shaping based on packet size to affect only large (bulk-transfer)
packets; this is only possible using fwmark. Rusty's Remarkably Unreliable Guides document firewall marks; the lartc howto documents using them for classifying.

regards,
David

Signature · 9 lines
David L. Parsley
Network Administrator, Roanoke College
"If I have seen further it is by standing on ye shoulders of Giants."
--Isaac Newton


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

Hi, I would like to control the amount of bandwidth provided to each service. such as 40kbps max for ftp, 50kbps max for http and so on. Or perhaps 30% for ftp, 50% for http and so on. I think i remember reading something on the web which shows how to do that but I cannot find it anylonger. Can anyone point me to something? Thanks, I appreciate your help.

The HOWTO on the site that runs this list is a perfect place to start:

http://ds9a.nl/lartc/HOWTO//cvs/2.4routing/output/2.4routing.html

Signature · 7 lines
Michael T. Babcock
CTO, FibreSpeed Ltd.     (Hosting, Security, Consultation, Database, etc)
http://www.fibrespeed.net/~mbabcock/

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