Mikrotik CRS can't reach the internet when using prerouting chain for seperating the multiple internet connections.

Hello everyone,

Thank you in advance for helping me

I use CRS 125 24G in my network and face a silly problem and could not solve it.

Here is the scenario:

1-Network is wireless base and all client connect to one access point and access point connect to ether02 which is master local.

2-I have 3 different internet (PPPOE are on separate CPE) and each modem connect to one port of mikrotik (ether03,04,05) and have different IP range from mikrotik and each other (192.168.3.0/4.0/5.0)

3-we use VPN PPTP as internet solution which means clinent dont have internet when get IP from DHCP server (Mikrotik) and then when they connect the internet connection get IP in the range of one of modem and have internet(different user must use different internet because of the various matter and cant load balance them)

4-I set 3 default gateway for any internet and set mark for them

5-I use prerouting for separating the default gateways.

With this configuration we meet all our goals but the main problem is the switch does not access to internet itself and could not reach it from the internet and such matters like this.

Please help me to resolve this issue, this getting me sick! :frowning: :frowning: :frowning:

Please tell me if you need any extra information.

Thank you

It’s hard to tell without seeing your config but by the sounds of it you are marking traffic in the prerouting chain.

Try marking ‘output’ traffic too.

Tell me what config you need to see, I can send screen shot or config file
And what output traffic I must mark, can you tell me in detail?

use this example as basis:
http://wiki.mikrotik.com/wiki/Manual:PCC#Application_Example_-_Load_Balancing