Dear All,
router rb450.
2 ISP, ISP-A, ISP-B
2 LAN, LAN-C, LAN-D
I have 2 ISP, and 2 LAN, I want my Mikrotik become gateway for those 2 LAN, without load balanding or failover.jadi
LAN-C use ISP-A,
LAN-D use ISP-B
LAN-C subnet- xx.xx.78.0/24
LAN-D subnet - xx.xx.79.0/24
Below is my configuration, but, sometime the router is getting slower and restarted.
/ip firewall mangle add chain=prerouting src-address=[ip network lan C] dst-address=![ip network LAN D] action=mark-routing new-routing-mark=routing-LAN-C disabled=no
/ip firewall mangle add chain=prerouting src-address=[ip network lan D] dst-address=![ip network LAN C] action=mark-routing new-routing-mark=routing-LAN-D disabled=no
firewall nat :
/ip firewall nat add chain=srcnat out-interface=[interface to isp A] action=masquerade
/ip firewall nat add chain=srcnat out-interface=[interface to isp B] action=masquerade
setting routing :
/ip route add gateway=[ip gateway isp A],[ip gateway isp B]
/ip route add gateway=[ip gateway isp A] routing-mark=routing-LAN-C
/ip route add gateway=[ip gateway isp B] routing-mark=routing-LAN-D
or should i use this routing configuration:
/ip route add gateway=ip gateway isp B,interface to isp B
/ip route add gateway=interface to isp B routing-mark=routing-LAN-C
How should I configure DNS?
Is it correct configuration?
Can anyone please help me with the routing and nat configuratoin?
Thanks in advance
Best Regards
ssffzzxx