From: "Indunil Jayasooriya" Date: Fri, 14 Sep 2007 07:48:56 +0000 Subject: [LARTC] pkgs to monitor traffic Message-Id: <7ed6b0aa0709140036j4fc22d2dgafc475759dc09b77@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1376343857==" List-Id: To: lartc@vger.kernel.org --===============1376343857== Content-Type: multipart/alternative; boundary="----=_Part_814_30316770.1189755416707" ------=_Part_814_30316770.1189755416707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, I have a 256kbit link where I have shaped 64kbit for downloading @ one ethernet. (eth1) I am using mrtg to monior it. it works fine. In addition to that, I am looking for some other pkgs. Are there good pkgs for that purpose? below is my script for dowmloading. I am looking for pkgs that suit below script. #traffic shaping on eth1 (Downloading) INTERFAZ_DMZ=eth1 FULLBANDWIDTH=256 BANDWIDTH4DMZ=64 tc qdisc del root dev $INTERFAZ_DMZ tc qdisc add dev $INTERFAZ_DMZ root handle 1: htb r2q 4 tc class add dev $INTERFAZ_DMZ parent 1: classid 1:1 htb rate "$FULLBANDWIDTH"Kbit tc class add dev $INTERFAZ_DMZ parent 1:1 classid 1:10 htb rate "$BANDWIDTH4DMZ"Kbit tc qdisc add dev $INTERFAZ_DMZ parent 1:10 handle 10: sfq perturb 10 tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff match ip dst 192.168.100.0/24 classid 1:10 tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 443 0xffff match ip dst 192.168.100.0/24 classid 1:10 HOPE TO HEAR FROM YOU -- Thank you Indunil Jayasooriya ------=_Part_814_30316770.1189755416707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all,

I have a 256kbit link where I have shaped 64kbit for downloading @ one ethernet. (eth1)

I am using mrtg to monior it. it works fine. In addition to that, I am looking for some other pkgs.

Are there good pkgs for that purpose?


below is my script for dowmloading. I am looking for pkgs that suit below script.
 
#traffic shaping on eth1 (Downloading)

INTERFAZ_DMZ=eth1
FULLBANDWIDTH=256
BANDWIDTH4DMZ=64

tc qdisc del root dev $INTERFAZ_DMZ

tc qdisc add dev $INTERFAZ_DMZ root handle 1: htb r2q 4
tc class add dev $INTERFAZ_DMZ parent 1: classid 1:1 htb rate "$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_DMZ parent 1:1 classid 1:10 htb rate "$BANDWIDTH4DMZ"Kbit
tc qdisc add dev $INTERFAZ_DMZ parent 1:10 handle 10: sfq perturb 10
tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff match ip dst 192.168.100.0/24 classid 1:10
tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 443 0xffff match ip dst 192.168.100.0/24 classid 1:10


HOPE TO HEAR FROM YOU



--
Thank you
Indunil Jayasooriya
------=_Part_814_30316770.1189755416707-- --===============1376343857== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1376343857==--