System Administration (ISP)

Bandwith control and management

by chase c. SysAdmin
chase c. Freshman   SysAdmin

Nov 21st 2007 05:08

Sponsor Ads


Comments

Dixanta Shrestha Advanced   
If you any ideas about that please feel free to post we will be really appreciated
Nov 21st 2007 05:38   
chase c. Freshman   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 Advanced   
i guess that's for linux right
Nov 21st 2007 05:48   
Dixanta Shrestha Advanced   
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   
chase c. Freshman   SysAdmin
yes, i the one, and how are u brother
Nov 21st 2007 06:00   
Dixanta Shrestha Advanced   
lol good mate good so where are you working these days and what do you do ?
Nov 21st 2007 06:10   
chase c. Freshman   SysAdmin
for that u can check my profile
Nov 21st 2007 06:15   
Dixanta Shrestha Advanced   
yeah i did lolz nice to talk with you after a long gap huh do u still recognize me
Nov 21st 2007 06:17   
chase c. Freshman   SysAdmin
yup u r the one who taught vb 6 programming and web design
Nov 21st 2007 06:19   
Dixanta Shrestha Advanced   
by the way give me ur email id so that i can contact you later on
Nov 21st 2007 06:22   
chase c. Freshman   SysAdmin
chaturATswiftnepalDOTcom
Nov 21st 2007 06:26   
sabina Innovator   
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   
Dixanta Shrestha Advanced   
thank u so much sabina for bringing friends together
Nov 21st 2007 23:16   
sabina Innovator   
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 Innovator   
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. Freshman   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   
You are not yet a member of this group.