Community discussions

MikroTik App
 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

How to configure 2 ISP for 2 LAN without load balancing

Wed Feb 10, 2010 4:54 am

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
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

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

Thu Feb 11, 2010 12:07 am

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?
 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

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

Thu Feb 11, 2010 4:10 am

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
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

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

Thu Feb 11, 2010 5:15 pm

at first, check with the latest version: http://wiki.mikrotik.com/wiki/Upgrading_RouterOS
 
justanotherhuman
just joined
Posts: 4
Joined: Sat Jun 16, 2018 10:57 pm

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

Mon Jun 18, 2018 10:23 pm

Hi,

Always check also /ip settings !

Cheers!