
how-to block ads
|
| | | Suggested prerequisite reading »Cisco Forum FAQ »Improving Performance of Cable/DSL Internet using QoS
The biggest challenge running Bittorrent application is that it is very hungry bandwidth application. If your Internet router is doing NAT/PAT, you can also see how extensive Bittorrent applications in using NAT/PAT process and fill up the NAT/PAT table very quickly. In the end, your router might not be able to keep up and then fail to work.
Since the Bittorrent application is very hungry bandwidth one, then the key to have manageable network connection is to apply Quality of Service (QoS). This QoS application is very significant especially when you run high-priority applications such as Voice over IP (VoIP) and some public servers to provide (as example) web and mail services.
Following is sample configuration of how to have manageable network connection when the network run Bittorrent, VoIP, and other applications such as Online Gaming. The sample configuration should work on any hardware. This configuration has been applied to cheapo 827 router and works fine.
Pre-requisites: the router supports named ACLs the router has a 12.4 IOS (not sure about other versions, feel free to try and let me know)
The configuration supposes you assign IP range 192.168.254.0/24 to the LAN 192.168.254.129 to 192.168.254.191 are assigned by DHCP to non static IP machines 192.168.254.11 is assigned to the VoIP ATA (in the exemple below, a Wengo ATA called Wenbox
192.168.254.1 is my Server for DNS, WINS, NTP and TFTP. Replace by the correct IPs (Local LAN or your ISP addresses)
Notes on Outbound Policy Shaping Implementation: * Ethernet0 is the physical interface LAN side that receive the traffic * ATM0 is the physical interface WAN side that send the traffic out to the ISP * Dialer1 is the logical interface WAN side that controls the Layer-2/3 (PPP and IP) management of the ATM0 interface * Since the physical WAN interface is the ATM0, then you need to implement outbound policy shaping on the ATM0 to actually execute the queueing/shaping/policing functions * Implement outbound policy shaping on Dialer1 interface (the logical WAN interface) won't make differences. The issue is that once the data has been encapsulated into PPPoX (PPPoA or PPPoE) there is no proper identification as the traffic goes out the Dialer interface. By tagging the packets as they come into the inside interface with a unique precedence or DSCP value prior encapsulation, it should provide the ability for proper decision making as the packets exit the outside interface.
Sample Configuration
Following are some more sample configurations and discussions
»[Config] Question about QoS Priority and Policing »[Config] Setting up QOS/prioritisation on an 877 »[Config] QoS+VoIP on a Cisco - sample config »VoIP issues with my Cisco 831. (torrents & pulsing voice)
feedback form
feedback form
by LilYoda edited by aryoba  last modified: 2008-10-30 15:00:26 |
|