Page 1 of 1

How to configure 2 ISP for 2 LAN without load balancing

Posted: Wed Feb 10, 2010 4:54 am
by ssffzzxx
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

Re: How to configure 2 ISP for 2 LAN without load balancing

Posted: Thu Feb 11, 2010 12:07 am
by Chupaka
if this configuration is working - then it's correct configuration =)

if something is not working - we can try to help you

about restarting - what version of RouterOS and RB firmware do you use?

Re: How to configure 2 ISP for 2 LAN without load balancing

Posted: Thu Feb 11, 2010 4:10 am
by ssffzzxx
Hi,
The configuration is working , but, sometimes, the router seem getting slower and then reboot automaticly.
I use 3.22 ROS.

Thanks in advance
Regards

Re: How to configure 2 ISP for 2 LAN without load balancing

Posted: Thu Feb 11, 2010 5:15 pm
by Chupaka
at first, check with the latest version: http://wiki.mikrotik.com/wiki/Upgrading_RouterOS

Re: How to configure 2 ISP for 2 LAN without load balancing

Posted: Mon Jun 18, 2018 10:23 pm
by justanotherhuman
Hi,

Always check also /ip settings !

Cheers!