2013年12月24日 星期二

Linux Traffic Control

Ubuntu 12.04 LTS


Traffic Shaping, Bandwidth Shaping, Packet Shaping with Linux tc htb
http://www.iplocation.net/tools/traffic-control.php
Strange....
I use his script, but found that setting 10kbit is actually 200kbit in real traffic. So I set 70kbit for 1400kbit.


Traffic Control HOWTO
http://linux-ip.net/articles/Traffic-Control-HOWTO/

A Practical Guide to Linux Traffic Control
http://blog.edseek.com/~jasonb/articles/traffic_shaping/

Bandwidth Limiting with IP Masquerade - Howto
http://www.szabilinux.hu/bandwidth/

Bandwidth Monitoring

Freshmeat.
These following tools are recommended:
bwm ==> very simple, ncurses based, for quick and easy overall network summary.
iptraf ==> very robust, ncurses based, my favorite, without kernel patch it lets you monitor specific host based on MAC Addresses
connmon ==> ncurses and gtk interfaces. With kernel patch you can monitor individual ip bandwidths

沒有留言: