Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow Multimedia & VoIP arrow Multimedia & VoIP Tutorial arrow A Beginners Guide To Successful VOIP Over DSL - Part 2
A Beginners Guide To Successful VOIP Over DSL - Part 2 Print E-mail
Michael Graves   
March 13, 2008

Traffic Shaper Theory

The available bandwidth is forcibly divided into "pipes". Traffic may be buffered into a pipe by one of a series of "queues". Finally, "Rules" define what kind of traffic is directed into which queue or pipe.

Confused?

Don't be.

It looks something like this.

m0n0wall traffic shaper block diagram
Click to enlarge image

Flow diagram describing the m0n0wall traffic shaper

The theory behind traffic shaping is fairly simple. You will create several "pipes" which are essentially separate paths through the router. Each pipe is assigned a certain slice of the available bandwidth. In my case, I have two pipes for outbound traffic and one for inbound traffic.

m0n0wall traffic shaper pipes menu

The sum of the bandwidth assigned to all the outbound pipes should be slightly less than your worst measured outbound connection speed. By doing this, you ensure that you will never actually saturate your outbound connection. As long as the connection is not saturated, the router is the defining factor in what traffic gets out first.

In addition to the pipes, you also establish queues within the router. Queues let you assign varying priorities to different types of traffic. Each queue can be directed to a specific pipe and assigned a "weight".

m0n0wall traffic shaper queues menu

Queues, by their nature, are buffers to handle traffic that is being delayed as it is passes through the router. You can select to direct VOIP traffic directly into a pipe, with no associated queue. This will assure minimum latency for VOIP traffic.

Traffic shaper rules are created to direct traffic based upon the properties you select. A rule can direct all traffic from a specific source or destination IP address, or in my case, IP range, into a particular queue & pipe. Selectivity can also be based upon port, protocol, network interface, etc.

It's also worth noting that this is the menu in m0n0wall where you can direct traffic based upon TOS (Type of Service) tags. So the basic mechanism of DiffServ QoS is actually a facet of the traffic shaper. This gives a lot of flexibility, which may be enough of a reason to go the extra cost of m0n0wall over a lower-priced consumer router.

m0n0wall traffic shaper rule editing menu

Magic Shaper

If all this seems a little much to understand, you're in luck. m0n0wall provides an automatic setup tool called "Magic Shaper". You only need to tell it the measured connection speeds. This function will then establish all the required pipes and queues.

m0n0wall traffic shaper Magic Shaper Wizard menu


Comments (2)Add Comment

New comments have been disabled. Please use the Forums

busy

Tags: Asterisk, m0n0wall, PoE, VoIP,

Related Articles:

A Beginners Guide To Successful VOIP Over DSL - Part 1
m0n0wall Firewall V1.0 - Part 2
How To: Building an Embedded Asterisk PBX
How To Add a Cellular Trunk to Your VoIP System
Asterisk@Home
 

Most Read

 
 

Over at the Forums

Intel SS4200-E
Hi, Since I've been dealing over the phone with Intel tech support since Monday, it would be really nice if I can cross-reference things with anyone...

Looking for Router with Parental Control
I'm actually looking for a router to replace my wpn824 (Netgear). Preferrably with QOS for VOIP but most importantly good parental control. I don't...

Good article on gigabit Ethernet performance
If you've been wondering whether Vista makes a difference in gigabit LAN performance, this guy has the data to show that it does. ...

Your knowledge and assistance is needed
Hi, My name is Sam. I am looking for a wireless solution. I have two routers now, one a G- router (Linksys with SRS) which makes it to my most...

Trendnet TWG-BRF114 Gigabit Firewall Router - Any experiences?
I'm looking for a wired router with decent firewall capabilities, basic QoS and WAN-to-LAN throughput to handle Adsl2+ speeds. In Europe, D-Link...

Slideshows

D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router Adtran NetVanta 3120 Buffalo LinkStation Mini Intel Entry Storage System SS4200-E More

Win This!

Enter to Win!

You could win a NETGEAR RangeMax Dual Band Wireless-N Router and Dual-Band USB Adapter

Learn How!

 
Go Shopping with PriceGrabber

Get Email Updates

Enter your email address:

Delivered by FeedBurner once a day

 


This page took 0.432923078537 seconds to load.