Online Learning Academy - LearnAcad.com

... Sharing Knowledge

  • Increase font size
  • Default font size
  • Decrease font size
Home

How to install BandwidthD in FreeBSD?

E-mail Print PDF

BandwidthB

About BandwidthD:

BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization. Charts are built by individual IPs, and by default display utilization over 2 day, 8 day, 40 day, and 400 day periods. Furthermore, each ip address's utilization can be logged out at intervals of 3.3 minutes, 10 minutes, 1 hour or 12 hours in cdf format, or to a backend database server. HTTP, TCP, UDP, ICMP, VPN, and P2P traffic are color coded.

 

Installing BandwidthD:

# cd /usr/ports/net-mgmt/bandwidthd/
# make install clean

BandwidthD Configuration:

# cd /usr/local/bandwidthd/etc
# cp bandwidthd.conf-dist bandwidthd.conf
# ee bandwidthd.conf
................
subnet 10.0.0.0/8
subnet 172.16.0.0/16
subnet 192.168.0.0/24
dev "re0"                     
.............

Starting BandwidthD:

# /usr/local/bandwidthd/bandwidthd

Path of Virtual Directory (Bandwidthd)
# ls /usr/local/bandwidthd/htdocs/index.html

Virtual Directory configuration in httpd.conf

# ee /usr/local/etc/apache22/httpd.conf

 

........Alias /bandwidthd "/usr/local/bandwidthd/htdocs/"
 
   Order Allow,Deny
   Allow from 111.68.98.160/255.255.255.224
 
............



Restart Apache (I assume the Apache is running smooth)

# /usr/local/etc/rc.d/apache22 restart

 

Run Bnadwidth at Boot time:

To start bandwidthd at boot time, use /usr/local/etc/rc.d/ directory as follows:

# cp etc/rc.d/bandwidthd.sh.sample /usr/local/etc/rc.d/bandwidthd.sh

 

 


Browser and write

Enjoy and don't forget to comment.

 

Last Updated on Wednesday, 04 September 2013 06:34  
Follow us on Twitter

Main Menu

Linux

Islam

Windows

Interview Questions

Database

Internet

Cisco

Entertainment

Networking

Graduate Courses

Psychology

Feed Burner

Subscribe to Welcome to Online Learning Academy by Email

Enter your email address:

Delivered by FeedBurner


Google Groups
Subscribe to LearnAcad
Email:
Visit this group

Login Form