+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 28
Wired Networks Thread, How do i send voice data to one gateway and data to a different gateway in Technical; I'd appreciate if someone could give me an answer to the following scenario: If i have a desktop PC with ...
  1. #1

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6

    How do i send voice data to one gateway and data to a different gateway

    I'd appreciate if someone could give me an answer to the following scenario:

    If i have a desktop PC with a softphone installed, is it possible to route the voice traffic through 1 router to go out on a separate adsl line, and then route the data traffic to go out on another separate dsl line? And i dont want to have 2 nics in the desktop PC or 2 physical switches. It would be through 1 nic, to a small switch which then goes into the main switch which then goes out to the appropriate router and then the internet. Is this do-able, does it make a difference if i use a hard phone as opposed to a softphone?

    Any help would be much appreciated.

  2. #2

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    yes you should be able to setup a static route on the machine.

    You would need to know the IP you want to connect to and then

    route -p add ip.of.phone.system gw ip.of.gate.way that should then add a perminate static route going out that way.

  3. #3

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    ok you seem to know a lot more than me on this, i've never really dabbled in routing. So if i have my desktop that goes through a small switch then into a larger switch and from there if its data i want it to go from the main switch to a router and content filter device which then goes out to the net and if its voice i want it to go from the main switch to the a hosted phone system on linux which is then connected to a router which then has the other dsl line modem attached to it.

    So for data i need to set the ip of the content filtering/router device and the same address for gateway? and for voice data it would be what? the linux box which hosts the phone system and the gateway would be the router that it plugs into which the voice dsl lines go into?

    If so, then on the desktops how do i actually do this, is that a command line you typed, is there anyway of doing it through a UI which may be a bit more user friendly?

  4. #4

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    the above is wrong i forgot to add the subnet in

    for the data do nothing (this will be sent using the default gateway set in IP settings). Then at an elevated command prompt (i.e right click run as admin)

    then if the IP phone system was at 10.10.10.10 and the router you need to use is at 15.15.15.15 then you would use

    route -p add 10.10.10.10 255.255.255.255 gw 15.15.15.15

    gw might be gateway I can't remember

    EDIT: no other way to do it!
    Last edited by glennda; 19th April 2012 at 08:00 PM.

  5. #5

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    ok thanks so much for that, just a couple of questions, what is the -p switch, how does it know to route voice traffic, i was struggling to how it would be able to differentiate both types if its going through a softphone installed on the desktop?

    Also once this is done is there a way of checking something to see whether or not this is in place on the desktop or not, or would you just have to do it again to be sure?

  6. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    the -p switch is to save to the registry (so it doesn't remove on reboot). It doesn't know its voice traffic as such it just routes anything to the phone system out that way (so if you tried to connect via the internet to the phone system it would go that way).

    Yes to test you would then run traceroute 10.10.10.10 and make sure it goes to the IP of the gateway first (which it should do)

  7. #7

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    ok so let me get this straight, if it already knows that traffic is being routed to the phone system, then why would you need to set this up if its already going that way, because i'm assuming then on the phone system you can set the gateway to the desired router there?

    I just am struggling to see how if you are working away, browsing the internet and talking on the phone, at what point something knows to send the voice data one way and the internet data the other. sorry i'm probably being stupid.

  8. #8

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    ah ok - sorry I have just re-read the original post - if the phone system and the phones are on the same subnet you won't need to set the routes on the desktop (i thought the phone system was hosted online). You would probably need 2 nics on the phone system one connected to the second router and for you to setup on the phone system for that router to be its default gateway.

    Toby

  9. #9

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    ok yeah that makes more sense, so on the phone server, 2 nics, 1 to the main switch and 1 to the 2nd router and to set the gateway on the phone system as the 2nd router. That way all voice traffic will end up on the phone server and that will send it the right way? ok thanks for that.

  10. #10


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by glennda View Post
    ah ok - sorry I have just re-read the original post - if the phone system and the phones are on the same subnet you won't need to set the routes on the desktop (i thought the phone system was hosted online). You would probably need 2 nics on the phone system one connected to the second router and for you to setup on the phone system for that router to be its default gateway.
    Could you do that with vlans on the NIC itself using software? we have some virtual fabric NIC's that can have upto 8 virtual NICs in the hardware (for FoE, Iscsi, NFS etc) I just wonder if you could do this on software?

  11. #11

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    Quote Originally Posted by CyberNerd View Post
    Could you do that with vlans on the NIC itself using software? we have some virtual fabric NIC's that can have upto 8 virtual NICs in the hardware (for FoE, Iscsi, NFS etc) I just wonder if you could do this on software?
    you could but you would open up the second router to the possibility of non phone traffic using it and therefore avoiding any filtering - you would just need setup the nic as being vlan aware that can easily be done.

    With regards to the phone system just make sure you set a default gateway on the external nic not the internal one otherwise it will get confused with its routing.

  12. Thanks to glennda from:

    CyberNerd (19th April 2012)

  13. #12

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    thanks for your help!

  14. #13

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    Quote Originally Posted by AndyCan View Post
    thanks for your help!
    not a problem - its what we are here for! I have just done all of that myself!

    Out of interest are you just using an asterisk installation?

    I've done FreePBX and its brilliant!

  15. #14

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    im using something called trixbox which is some way connected to asterisk i think, i'm not really clear on it to be honest, only just getting to grips with it so im on the lookout for help guidance and how to upgrade as i have a feeling its dated and the hardware its on is struggling and running at capacity

  16. #15

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    350
    Quote Originally Posted by AndyCan View Post
    im using something called trixbox which is some way connected to asterisk i think, i'm not really clear on it to be honest, only just getting to grips with it so im on the lookout for help guidance and how to upgrade as i have a feeling its dated and the hardware its on is struggling and running at capacity
    I doubt the hardware will struggle its not that resource intensive - I've used trixbox in my experimenting but went with FreePBX due to ease of use at the backend - they are both front ends to asterisk.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Script to remove users from one group and add to another
    By JMBates in forum Windows Server 2000/2003
    Replies: 5
    Last Post: 11th April 2012, 10:02 AM
  2. Replies: 5
    Last Post: 11th April 2012, 10:02 AM
  3. Replies: 5
    Last Post: 23rd June 2011, 08:26 AM
  4. One to one - authentication and file storage?
    By JoeyH in forum Wireless Networks
    Replies: 2
    Last Post: 30th March 2011, 08:24 AM
  5. Replies: 5
    Last Post: 28th April 2008, 12:51 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •