2 WAN UP-Links

Hey Community’
I need to know that how can I configure 2 up-links in mikrotik. I have attached network diagram for review. In network diagram Upiquiti device connected to CISCO 2950 Switch. In mikrotik 2 ports configured as WAN1 & WAN2 & 2 ports are configured LAN1 & LAN2. If I send all the traffic using WAN1 it’s working well but WAN2 isn’t working. Please suggest how can I deploy both WAN1 & WAN2 as working condition.
Any other configuration will be provided.
Regards’
Network Diagram.png

Hi,
If you want LAN1 to use WAN1 and LAN2 to use WAN2, you should configure policy routing.
https://wiki.mikrotik.com/wiki/Policy_Base_Routing

If you want to configure load balancing, RouterOS has many load balancing methods, I would suggest PCC.
https://wiki.mikrotik.com/wiki/Manual:PCC


Osman Kazdal

Hey Osman Kazdal’
It’s really helpful. Both WAN links are working but now I am unable to ping from LAN2 to LAN1. For Example I have set private IP Address on LAN2 is 192.168.50.0/24 & on LAN is 192.168.1.0/24. If I ping from 192.168.50.0/24 to 192.168.1.0/24, unsuccessful, but if ping from 192.168.1.0/24 to 192.168.50.0/24, it’s successful.

Regards’

What did you used?
Policy base routing or PCC ?

Hey francisconeto’
I am using PBR.

Regards’

Try add a new entry with dst-address=192.168.0.0/16 to lookup to main table.

Put this new entry at the top.

Hey francisconeto
Where I have to add this entry? Mean to say add into firewall or add into routes? Please guide.

Regards’

Add this new entry in your PBRs.

Now that I see that maybe you use PBR with firewall mangle.

In this case just create a new mangle rule with dst-address=192.168.0.0/16 action=accept and put on the top.

Hey francisconeto
Yes, I am using PBR with mangle rule. I have created suggested entry. Right now I am not on the location. I will update you after check.

Regards’

Hey francisconeto’
I have checked but I am unable to Ping client addresses from 192.168.1.1. For example: if I ping from 192.168.1.1 to 192.168.50.1 it is successful but if I ping from 192.168.1.1 to 192.168.50.101, 102 etc it is unsuccessful. Please guide. One thing more, when I ping from 192.168.50.1 everything is accessible.

Regards’