Skip to contentSkip to conversation

shaping clients

LARTC Lucas Aimaretto 3 participants 3 messages May 15, 2003

lore
Share & tools
lore
#0 lore raw

hi there,

which is the best way to shape traffic, but not only applied to the inbound interface, but yes to each of the clients belonging to my lan environment? is it clear? do I have to make filter rules for every client matching their ip addresses?

and also, I'd like to obtain graphs of the traffic generated by each of the clients connected to the linux box. which program to use?

thanx a lot

regards

lucas

Signature · 9 lines
 ___
/\  \        __     __   _______     _____     _____
\ \  \      /\  \ /\  \ /  _____\  /  ____ \  /\  ___\
 \ \  \_____\ \  \\_|  \\  \____/_ /\    __  \\ \ ____ \
  \ \_______\\ \______ / \  ______\\ \__\_/\__\\//\_____\
   \/_______/ \/_____ /   \/______/ \/__/ \/__/  \/_____/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

What works for me is to have a box with two interfaces between the edge of my network and my client access equipment. I use HTB and hash the clients into their specific classes based on the source IP (on the outbound interface) and the destination IP (on the inbound interface). For more details, check the configuratione example I posted yesterday.

Regards
Gideon

Quoted 7 lines · Lucas Aimaretto

hi there,

which is the best way to shape traffic, but not only applied to the inbound interface, but yes to each of the clients belonging to my lan environment? is it clear? do I have to make filter rules for every client matching their ip addresses?

Quoted 8 lines

and also, I'd like to obtain graphs of the traffic generated by each of the clients connected to the linux box. which program to use?

thanx a lot

regards

lucas

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

#2 lore raw
In reply to Lucas Aimaretto
Quoted 6 lines · Lucas Aimaretto

hi there,

which is the best way to shape traffic, but not only applied to the inbound interface, but yes to each of the clients belonging to my lan environment? is it clear? do I have to make filter rules for every client matching their ip addresses?

Like Gideon replied, you need 1 class for each client. You can use the ip-address of the client to classify the packets. If you put a linux router (or bridge) in your link, you can shape on both network cards so you can contrl both directions of the traffic.

Quoted 2 lines

and also, I'd like to obtain graphs of the traffic generated by each of the clients connected to the linux box. which program to use?

I have some scripts that can generate graphs. You can find it on www.docum.org. They are part of the GUI package, but you can use them just to generate the graphs. I use rrdtool to store/graph long term information and a java program to show real-time graphs.

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/