Bandwith control and management
by chase c. SysAdminSponsor Ads
Comments
chase c. SysAdmin
please do visit this site for a reference http://www.knowplace.org/pages/howtos/traffic_shaping_with_linux.php Nov 21st 2007 05:44 |
Dixanta Shrestha
hey are you that Chatur Ratna Shakya who used to study and teach computer @ RD computer 5-6 yrs ago Nov 21st 2007 05:50 |
Dixanta Shrestha
lol good mate good so where are you working these days and what do you do ? Nov 21st 2007 06:10 |
Dixanta Shrestha
yeah i did lolz nice to talk with you after a long gap huh do u still recognize me Nov 21st 2007 06:17 |
Dixanta Shrestha
by the way give me ur email id so that i can contact you later on Nov 21st 2007 06:22 |
sabina
wow, what a coincidence. See Chatur, I had told u to add comments and join in groups u will find many more friends. and ain't i right? Nov 21st 2007 23:08 |
sabina
i am glad to hv friends like u all dixanta, anil, chatur. Regarding bluetooth programming, i think it is webbased programming which will be integrated with some bluetooth software for ... i dont know exactly. i hope u understood what i am trying to say Nov 22nd 2007 03:13 |
sabina
by the way, i still hvnt understood the HP and other points. i am still confused in creating groups and sending comments. Nov 22nd 2007 03:15 |
chase c. SysAdmin
actually bandwith can be controlled on out going interfaces only. here is a sample example script on linux using tc and htb #!/bin/sh ##############START######################################################################################### # DEVICE TO CONTROL DEV=eth0 TCQ="tc qdisc add dev $DEV" TCC="tc class add dev $DEV" TCF="tc filter add dev $DEV" # DELETE EXISTING TRAFFIC CONTROL tc qdisc del dev ${DEV} root 2>/dev/null >/dev/null tc qdisc dev dev ${DEV} ingress 2>/dev/null >/dev/null ${TCQ} root handle 1: htb default 50 r2q 100 ${TCC} parent 1: classid 1:1 htb rate 100mbit ceil 100mbit # Device capacity ${TCC} parent 1:1 classid 1:10 htb rate 1mbit ceil 1mbit quantum 150 # int # Assign bandwith for ip 10.67.15.4 ${TCC} parent 1:10 classid 1:200 htb rate 48kbit ceil 64kbit quantum 6500 # Assign bandwith for every ip 10.67.15.4 to its corresponding filter ${TCF} protocol ip parent 1:0 u32 match ip src 10.67.15.4 flowid 1:200 ##############END######################################################################################### enjoy Nov 22nd 2007 03:18 |
If you any ideas about that please feel free to post we will be really appreciated
Nov 21st 2007 05:38