Asterisk Network Config

Posted on 2006-05-21
Last Modified: 2012-08-13
Hi, I'm about to install an Asterisk server with 20 SIP phones on a 30 system network.

which of the following is the best config:

1) Seperate Subnets: 30 system network runs on  and 20 SIP phones and Asterisk Server sits on

2) If i were to use a VLAN what's the best config?  I'm a bit rusty with VLAN config so please be specific as possible.

Thanks in advance!
Question by:jetli87
    LVL 36

    Expert Comment

    It depends if your switches support QOS. If they do then configure a separate VLAN for use by the phones only and use a different IP address range.
    If the switches dont support QOS then it wont make any difference.

    You only need QOS on the switches if it is likely that the port on the switch will become saturate. Having gigabit on the servers could cause someone to be able to saturate the link downloading something to their PC and so in this case it would be best to use QOS. An alternative would be to use completely separate switches for the phones.
    LVL 1

    Author Comment

    I actually just purchase new switches that support vlan and QOS.

    to be clear, so i would setup a vlan for the phones using a different subnet?  or a different set of range on the same subnet with the workstations?  

    sorry if that question seems a bit lame, again, I'm fuzzy on my reason for VLANs.  I'm unsure if VLAN is used to segregate traffic for workstations sitting on the same subnet, i.e. = 1st net and = 2nd or what?)

    And yes my servers are connected via gigabit ports.

    i appreciate the response, get back to me when you can.
    LVL 36

    Accepted Solution

    Yes setup a VLAN for the phones using a different subnet. Technically as the networks are separate you dont 'have' to have a separate subnet but it is a good idea incase you ever want to route between them in the futire.

    If you are using 10.20.100.x/ as your main network then use something like 10.20.101.x/ for the phones.

    Using VLANS enables you to keep the voice and normal network traffic completely separate. Its effectivly like having two completely different networks. On the switch you normally set the voip VLAN as being on the trunk. Then the phone is configured to use tagging so that the phone connects to the switch and sends all calls over the voip VLAN. The phones switch port then connects to the PC.
    LVL 1

    Author Comment

    Good Stuff GRBLADES!

    I'll be setting up everything in the next few weeks, so I'll post another question if i have trouble...thanks again.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now