Page 1 of 1

2nd WAN line only for phone system

Posted: Mon Sep 08, 2014 6:37 pm
by demetri90
I'd like to set up a separate DSL line for only the phone system. Currently they use a coax provider and it's terrible. What should I do as far as setting up for a MikroTik RB2011? I have IP passthrough going on the DSL modem, and the MikroTik is set up to receive a public IP address via DHCP client, not sure where to go after that.

Re: 2nd WAN line only for phone system

Posted: Tue Sep 09, 2014 11:36 am
by noib
Use firewall/mangle to mark your packets related to the sip traffic (either source IP, either traffic type UDP 5060, either destination server.. depends on your environment)
Then assign a different route for your SIP traffic
Example can be found there : http://wiki.mikrotik.com/wiki/Per-Traff ... _Balancing

Re: 2nd WAN line only for phone system

Posted: Wed Sep 10, 2014 1:47 am
by demetri90
Use firewall/mangle to mark your packets related to the sip traffic (either source IP, either traffic type UDP 5060, either destination server.. depends on your environment)
Then assign a different route for your SIP traffic
Example can be found there : http://wiki.mikrotik.com/wiki/Per-Traff ... _Balancing

Thanks for the link, although I'm a bit lost (noob). I made a mangle rule in the firewall

prerouting
used IP address under source address
action is mark routing

I then added a route

dest. 0.0.0.0
gateway ether9 (dsl line)
routing mark (the mangle rule)

but as soon as I enable the route, the phone system loses connectivity with the rest of the network and can't make or receive calls.

Re: 2nd WAN line only for phone system

Posted: Thu Sep 11, 2014 12:33 am
by demetri90
This is what I have so far. I don't know what I'm doing for this kind of setup.
 0   chain=prerouting action=mark-routing new-routing-mark=PBX Traffic 
     passthrough=no src-address=192.168.2.112