Anda di halaman 1dari 4

How to install bandwidth management with htb tools in

ubuntu?

Author by : http://www.daily7.info

Bandwidth Management is how we manage the bandwidth to the user as a


function of the user.

Bandwidth management functionality is very important for the office,


companies, universities and Internet provider companies .

Next step by step how we install bandwidth management with the HTB Tools in
ubuntu:

First entry in the folder / usr / local / src


#cd /usr/local/src

Download the package htb tools


#wget http://www.geocities.com/safinatuddin/HTB-tools-0.3.0a-i486-1.tgz

Extracting the files it


#tar -zxvf HTB-tools-0.3.0a-i486-1.tgz

Folder will appear etc, install, folders, sbin

Move all the contents of the sbin folder htb tools in / sbin server
#cd /usr/local/src/sbin
#mv htb /sbin
#mv htbgen /sbin
#mv q_checkcfg /sbin
#mv q_parser /sbin
#mv q_show /sbin

How to setup network basics ? http://daily7.info


Copyright © 2008 - 2008 daily7.info. All Rights Reserved
Log in to the folder etc htb tools, and move htb folder to folder / etc server
#cd /usr/local/src/etc
#mv htb /etc

move the folder / etc/htb/eth0-qos.cfg.new to / etc/htb/eth0-qos.cfg


#mv /etc/htb/eth0-qos.cfg.new /etc/htb/eth0-qos.cfg
#mv /etc/htb/eth1-qos.cfg.new /etc/htb/eth1-qos.cfg

Log in to the rc.d folder in the htb tools


#cd /usr/local/src/etc/rc.d

Enter the new file to the folder rc.htb init.d its server and replace a rc.htb
#mv rc.htb.new /etc/init.d/rc.htb

chmod rc.htb
#chmod 755 /etc/init.d/rc.htb

Configuration management bandwidth in the folder / etc/htb/eth1-qos.cfg


#vim /etc/htb/eth1-qos.cfg

class Office_A {
bandwidth 1024;
limit 2048;
burst 2;
priority 1;

client Director {
bandwidth 256;
limit 512;
burst 2;
priority 1;
dst {
192.168.168.5/32;
};
};

client Manager {
bandwidth 128;
limit 256;
burst 2;
priority 1;
dst {

How to setup network basics ? http://daily7.info


Copyright © 2008 - 2008 daily7.info. All Rights Reserved
192.168.168.6/32;
};
};

client Hotspot {
bandwidth 64;
limit 256;
burst 2;
priority 1;
dst {
192.168.168.7/32;
};
};

client Staff_office {
bandwidth 256;
limit 512;
burst 2;
priority 1;
dst {
192.168.168.11/32;
192.168.168.12/32;
192.168.168.13/32;
192.168.168.14/32;
192.168.168.15/32;
192.168.168.16/32;
192.168.168.17/32;
192.168.168.18/32;
192.168.168.19/32;
192.168.168.20/32;
192.168.168.21/32;
192.168.168.22/32;
192.168.168.23/32;
192.168.168.24/32;
192.168.168.25/32;
};
};
};

class default { bandwidth 8; };

simpen make ctrl+x tekan y kemudian enter

If you are in the edit, run htb tools


#/etc/init.d/rc.htb start_eth1

How to setup network basics ? http://daily7.info


Copyright © 2008 - 2008 daily7.info. All Rights Reserved
If you would like to see that traffic through htb tools can be seen with the
command
#/etc/init.d/rc.htb show_eth1

How to setup router broadband ?


How to setup PC Router with Ubuntu ?
How to Setup Proxy Server ?
How to setup DHCP Server ?
How to setup DNS Server ?
How to setup Mail Server ?

How to setup network basics ? http://daily7.info


Copyright © 2008 - 2008 daily7.info. All Rights Reserved

Anda mungkin juga menyukai