Community discussions

MikroTik App
 
demetri90
newbie
Topic Author
Posts: 25
Joined: Wed May 07, 2014 6:11 pm

2nd WAN line only for phone system

Mon Sep 08, 2014 6:37 pm

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.
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: 2nd WAN line only for phone system

Tue Sep 09, 2014 11:36 am

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
 
demetri90
newbie
Topic Author
Posts: 25
Joined: Wed May 07, 2014 6:11 pm

Re: 2nd WAN line only for phone system

Wed Sep 10, 2014 1:47 am

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.
 
demetri90
newbie
Topic Author
Posts: 25
Joined: Wed May 07, 2014 6:11 pm

Re: 2nd WAN line only for phone system

Thu Sep 11, 2014 12:33 am

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