Page tree
Skip to end of metadata
Go to start of metadata

Description:

One of the ways to ensure that you have the clearest and best connection for your Sonicwall is to utilize bandwidth management (BWM).  Now, this is a bit tricky as Sonicwall allocates bandwidth based on your AVAILABLE bandwidth.  So, what this means is you could spend time setting up the connection, but not properly setting your total connection would cause it to fail. 

This article will show you how to

  • Setup QOS settings on a Sonicwall device

Example:

Your connection is 30Mbps, and you set your Sonicwall to allocate 10% of this, so 27Mbps can be used for Data (3Mbps would be saved for VoIP).  If your connection was actually only a 20Mbps connection, the Sonicwall would use all 20Mbps for Data, thinking more was available.  This would essentially render all of the work you did useless!

**Important** - Sonicwall does NOT work the same way with QoS as you may be used to.  The QoS settings on Sonicwall are essentially there to "tag" packets or allow the tags to be there, but it does NOT actually do anything to prioritize these packets without setting up the Bandwidth Management (BWM) as below.

To properly configure the Sonicwall, we will adjust settings in 3 areas after first ensuring that the firmware is up to date. (Here is a helpful video also: https://www.youtube.com/watch?v=yUbLf9qJU98)

Step By Step:


 Firmware Settings
  1. Verify and update the firmware.
    • External Link - Sonicwall Firmware update guide
    • Note: The TZ Series should have firmware 5.8 or greater  (The device does need to be registered, but it does NOT require a paid subscription to download the firmware.)
 VoIP Settings
  1. Select VoIP from the left.
  2. Click on Settings.
    1. Ensure that Enable consistent NAT is ENABLED.
      1. (Some firmware versions will need this DISABLED, but it is best to start with Enabled and test from there.)
    2. Ensure that Enable SIP Transformations is DISABLED.
    3. Click Apply to save changes.
 Firewall Rules & Objects
  1. On the left, click Firewall > Access Rules > Matrix.
    1. Select the LAN to LAN arrow and disable or delete any VoIP or Voice rules under Destination or Service.
    2. Select the LAN to WAN arrow and disable or delete any VoIP or Voice rules under Destination or Service.
    3. Select the WAN to LAN arrow and disable or delete any VoIP or Voice rules under Destination or Service.
    4. Select the LAN to WAN arrow and disable or delete any VoIP or Voice rules under Destination or Service.
  2. Next, click Network on the left, and then click Address Objects (May be Under Firewall for Certain Firmware Revisions)
  3. Click Add and do the following.
    1. Name: Audian VoIP Server 1
      • Zone Assignment: WAN
      • Type: Host
      • Network: 54.148.70.218
    2. Name: Audian VoIP Server 2
      1. Zone Assignment: WAN
      2. Type: Host
      3. Network: 54.149.90.30
    3. Name: Audian VoIP Server 3
      1. Zone Assignment: WAN
      2. Type: Host
      3. Network: 54.148.57.6
    4. Name: Audian VoIP Server 4
      1. Zone Assignment: WAN
      2. Type: Host
      3. Network: 52.11.88.63
  4. Click the Address Group tab at the top
    1. Click Add Group and add Audian
    2. Add all of the Audian objects and then click OK.
  5. Navigate to Firewall > Access Rules > Click Add
    1. Set the Following
      • Action: Allow
      • From Zone: LAN
      • To Zone: WAN
      • Service: Any
      • Source: Any
      • Destinations: Audian
      • Allow Fragmented Packets: Checked
    2. Click Advanced tab and set the following.
      • UDP Connection Inactivity Timeout (seconds): 360
  6. Navigate to Firewall > Access Rules > Click Add
    1. Set the Following
      • Action: Allow
      • From Zone: WAN
      • To Zone: LAN
      • Service: Any
      • Source: Audian
      • Destinations: Any
      • Allow Fragmented Packets: Checked
    2. Click Advanced tab and set the following.
      • UDP Connection Inactivity Timeout (seconds): 360
  7. Save all changes
    • **It may take several minutes (up to 60) for the phones to properly re-register.  You can reboot all phones if you would like to make this happen quicker. 
 Bandwidth Management Settings
  1. Navigate to Network>Interfaces.
  2. Click the Configure button under WAN.
  3. Select the Advanced tab, and then enable both Egress and Ingress Bandwidth Management. 
  4. Set your speed in Kbps in both of the boxes.
    1. Ingress= Download Speed (this should be set to your download speed in Kbps (x Mbps * 1024)Egress = Upload Speed (this should be set to your upload speed in Kbps (x Mbps * 1024
  5. Hit OK to save changes.
  6. Next, navigate to the Firewall Settings Menu, and then to BWM
  7. Ensure that Bandwidth Management Type is set to "Global"
  8. Ensure that at a minimum one priority above Medium (the default) is selected.  In this case, we have selected "High"
  9. Set this to a guaranteed reserve of between 20-30%.  (Make sure the guaranteed numbers add up to 100% as well)
    1. OPTIONAL - An Audian technician can give more details on the percentage number if needed, but essentially each voice channel uses around 50Kbps, so if you expect a maximum of 5 simultaneous voice calls, you would want to "guarantee" around 50Kbps * 5 = 250Kbps of bandwidth.  In our example, the maximum upload is 5,120Kbps, so we would want to set aside 250/5,120 = 6% of the available connection as guaranteed. In most cases, 10% is a good number to use.  Also keep in mind that this just GUARANTEES that much connection.  If no voice traffic is being used, the full connection will be used for your data and other connections.
  10. Hit Accept to save your changes.
  11. Navigate to Firewall, Access Rules, and then to the LAN -> WAN rule that was created to allow VoIP traffic previously (in the Sonicwall Guide).
  12. Select the configure button
  13. Select the "Ethernet BWM" tab
  14. Check to enable both Inbound and Outbound Bandwidth Management
  15. Select the Priority that you set in the previous Firewall settings (in this example, "2 High")
  16. Select OK to save

You have now configured your sonicwall to automatically give a higher priority to any traffic that is going to the Audian servers, and to allow a percentage of your connection to be "guaranteed" for that traffic.  This should eliminate any call quality issues with high usage clients.

  • No labels