ADSL Bandwidth Management HOWTO - Dan Singletary (best romantic novels to read .txt) 📗
- Author: Dan Singletary
- Performer: -
Book online «ADSL Bandwidth Management HOWTO - Dan Singletary (best romantic novels to read .txt) 📗». Author Dan Singletary
iptables -t mangle -A MYSHAPER-IN -p tcp --sport ssh -j MARK --set-mark 20 # secure shell
iptables -t mangle -A MYSHAPER-IN -p tcp --dport telnet -j MARK --set-mark 20 # telnet (ew...)
iptables -t mangle -A MYSHAPER-IN -p tcp --sport telnet -j MARK --set-mark 20 # telnet (ew...)
iptables -t mangle -A MYSHAPER-IN -m mark --mark 0 -j MARK --set-mark 21 # redundant- mark any unmarked packets as 26 (low prio)
finally, instruct these packets to go through the imq0 we set up aboveiptables -t mangle -A MYSHAPER-IN -j IMQ
Done with inbound shaping ##############################################echo "Inbound shaping added to $DEV. Rate: ${RATEDN}Kbit/sec."
Testing the New QueueThe easiest way to test your new setup is to saturate the upstream with
low-priority traffic. This depends how you have your priorities set up. For
the sake of example, let's say you've placed telnet traffic and ping traffic
at a higher priority (lower fwmark) than other high ports (that are used for
FTP transfers, etc). If you initiate an FTP upload to saturate upstream
bandwidth, you should only notice your ping times to the gateway (on the
other side of the DSL line) increasing by a small amount compared to what it
would increase to with no priority queuing. Ping times under 100ms are
typical depending on how you've got things set up. Ping times greater than
one or two seconds probably mean that things aren't working right.
OK It Works!! Now What?Now that you've successfully started to manage your bandwidth, you should
start thinking of ways to use it. After all, you're probably paying for it!
��*�Use a Gnutella client and SHARE YOUR FILES without adversely affecting
your network performance��*�Run a web server without having web page hits slow you down in Quake
Related Links��*�Bandwidth Controller for Windows - [http://www.bandwidthcontroller.com]
http://www.bandwidthcontroller.com��*�[http://www.sonicspike.net/software#dsl-qos-queue] dsl-qos-queue - (beta)
for Linux. No kernel patching, and better performance -
Comments (0)