News: This forum is now permanently frozen.
Pages: [1]
Topic: Quick question on multiple pipes and VOIP  (Read 4523 times)
« on: March 17, 2011, 20:33:24 »
caldwell *
Posts: 2

Client connects via T1 line to provider.  VOIP server is on provider's local network.

Provider: Cisco router <-    T1    ->  Cisco router <-   m0n0wall   -> customer LAN

I set up four pipes (2 down, 2 up) on a client firewall.  The idea was to segregate fully a portion of the bandwidth for VOIP.

For the VOIP traffic, I then set up rules which used the WAN interface and had the destination as the remote VOIP server (e.g. 20.21.22.23).  The rule was for any protocol, any source, any port.

The other rules ran into normal queues, and those queues used the other two up/down pipes for the remaining portion of the bandwidth.

In practice, this didn't work.  When looking at the traffic graph, it appeared that the max available bandwidth was what I set the generic traffic to use.  I even got on a voice call, saw the in/out traffic graph stay steady around 100K and had the user do a speed test.  I could see the peak go up to about what the max traffic was.

Either way, there were still some voice quality issues when there shouldn't have been.

What is the proper syntax to add a rule so that ANY traffic to the VOIP server 20.21.22.23 will use the VOIP pipe up and VOIP pipe down?

Thanks.

ps - Is it generally held to be true that using the generic shaping and sharing of all bandwidth will introduce latency due to the use of queues?  Some of what I've read suggests that using queues is not preferred and that VOIP traffic should simply be put directly into its own pipe.

Real world feedback and configuration examples would be appreciated.  Many of the archived items no longer have screenshots available, and the WMV screencast file won't play on my Mac under Windows Media Player 9, WMV, Flip4Mac/QuickTime.
« Reply #1 on: March 18, 2011, 06:56:37 »
rpsmith ***
Posts: 113

here is what worked for me:

I setup one 1440 Kbit/s Pipe that I used for all outbound WAN traffic.

I setup five Queues: Q1 = 65 weight, Q2 = 20 weight, Q3 = 10 weight, Q4 =4 weight, and Q5 = 1 weight

I setup the following Outbound WAN traffic shaper rules:

Q1: SIP Server as destination address
Q1: multiple rules for ACK, SYN, DNS, AH, ESP, GRE and ICMP protocols
Q2: HTTPS
Q3: HTTP
Q4: outgoing FTP, SMTP, etc.
Q5: all other non-important outgoing traffic hits this queue

no inbound traffic shaping as it's not effective and your ISP/SIP provider should be handling it anyway.

Roy...



 
   
« Reply #2 on: September 20, 2011, 02:28:43 »
Plox *
Posts: 20

I do almost the same thing as Roy.

My Queues are as follows.

90 - VoIP
60 - Multiple rules for VPN Tunnel, Games, DNS, AH, ESP, GRE and ICMP protocols
30 - SYN, ACK, http, https.
15 - Small packets, other services high priority.
5 - Other services low priority.
1 - Trash

Only time I've had trouble with VoIP is when applications open a ton of ports.

Otherwise the traffic shaping has worked flawlessly.
« Last Edit: September 20, 2011, 02:43:59 by Plox »
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines