Setup with 2 ISPs

Hi

Can you help me with the following setup on an RB750?

I think I’ll need some policy based routing (as far as I’ve read)

I’ve already done the basics, setup the interfaces, dhcp clients/server. I need the routes and policies to make all this happen. Should be easy for one of you gurus :slight_smile:. I can give you direct access to the 'tik box if this is easiest?


port1 = WAN1 DATA (dhcp)
port2 = WAN 2 VOIP (dhcp)
port3 = MIX (192.168.3.1/24 m. DHCP-server)
port4 = VOIP ONLY (192.168.4.1/24 m. DHCP-server)
port5 = DATA ONLY (192.168.5.1/24 m. DHCP-server)

port5 traffic ONLY goes through port1
port4 traffic ONLY goes through port2
Traffic from port4 which is not sip related is blocked.
Traffic from port3 which is sip related goes through port2
Traffic from port3 which is not sip related is sent through port1.
Everything connected to either port3,4 or 5, has to be able to “reach” eachother.

“sip related” traffic is defined by three ip-addresses which are our voip servers. Meaning all traffic which is not to one of these three ip-adresses is blocked.

Port1+2 : dhcp client (ISPs)
Port3: 192.168.3.0/24 (GW: 192.168.3.1)
Port4: 192.168.4.0/24 (GW: 192.168.4.1)
Port5: 192.168.5.0/24 (GW: 192.168.5.1)
Pools:
Port3: 192.168.3.10 - 192.168.3.200
Port4: 192.168.4.10 - 192.168.4.200
Port5: 192.168.5.10 - 192.168.5.200

I’d really appreciate any help with this. Thanks alot in advance.

Read the PCC wiki, it shows how to mark connections (though you don’t want to mark them for purposes of load balancing via per-connection-classifier, but only based on in-interface and some additional parameters in case of port 3) and how to implement routes based on connection-marks.
http://wiki.mikrotik.com/wiki/PCC

Hi fewi

Thanks for the link. I’ve set up the router as described in the guide, and I have a connection on all interfaces.

Can you give me an example of how to use the routing marks to make rules for the traffic flow??