Community discussions

MikroTik App
 
p4rv33n
newbie
Topic Author
Posts: 49
Joined: Thu Feb 25, 2016 10:53 pm

2 WAN load balancing with failover?

Fri Mar 25, 2016 6:07 am

ISP 1 providing me a link with following IP's:
WAN IP-x.x.82.0/30
Lan IP-x.x.82.8/29

ISP 2 providing me a link with following IP:
WAN IP-x.x.253.246
mask-255.255.255.248
gatway-x.x.253.241

I am confusing how can I use Lan IP's ISP 1 if I am done load balancing(bonding) in my CCR1009 with failover.
How the network is implement if Mikrotik Lan is connected to server (MSC). MSC must need a separate Public IP.
You do not have the required permissions to view the files attached to this post.
 
p4rv33n
newbie
Topic Author
Posts: 49
Joined: Thu Feb 25, 2016 10:53 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 9:59 am

Does anyone here who can help me with this configuration!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10551
Joined: Mon Jun 08, 2015 12:09 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 10:33 am

That won't work.
You cannot take some standard ISP connects with fixed IP and then combine them into a single failsafe link
and still have a public IP on that.

To do this, you must have a multihomed connection i.e. you run BGP on your own router and peer with different
ISP's. This is not something you should undertake on your own when you have to ask how to do that.
 
p4rv33n
newbie
Topic Author
Posts: 49
Joined: Thu Feb 25, 2016 10:53 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 12:14 pm

That won't work.
You cannot take some standard ISP connects with fixed IP and then combine them into a single failsafe link
and still have a public IP on that.

To do this, you must have a multihomed connection i.e. you run BGP on your own router and peer with different
ISP's. This is not something you should undertake on your own when you have to ask how to do that.
Ok I understand. If I will use a local ip on MSC NATed (1:1 NAT) with one of public ip's of ISP1, then is it possible to implement?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10551
Joined: Mon Jun 08, 2015 12:09 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 5:34 pm

The problem is not the internal side, but the external users.
When you have 2 connections with 2 different IP addresses, and you publish one of them to the external users
(e.g. via DNS) you will be sending the traffic through one of the connections and when it fails you are no longer
reachable.
This way of loadbalancing/failsafe is only possible when you want to serve internal users that connect outbound
only, not when you or your clients run internal services you want to offer to the outside with public IP.
 
p4rv33n
newbie
Topic Author
Posts: 49
Joined: Thu Feb 25, 2016 10:53 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 6:20 pm

The problem is not the internal side, but the external users.
When you have 2 connections with 2 different IP addresses, and you publish one of them to the external users
(e.g. via DNS) you will be sending the traffic through one of the connections and when it fails you are no longer
reachable.
This way of loadbalancing/failsafe is only possible when you want to serve internal users that connect outbound
only, not when you or your clients run internal services you want to offer to the outside with public IP.
Thanks for your inputs....I think there is some possibilities..may be I am not picking up the right nerves.

pe1chi... is there is anyway I can load-balance my two WAN link if I am not wanting LAN IP access to outside world.
What should be your implementation if you want load-balance WAN1- /30 and /29 and WAN2-single Static IP.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10551
Joined: Mon Jun 08, 2015 12:09 pm

Re: 2 WAN load balancing with failover?

Fri Mar 25, 2016 8:07 pm

Yes, if you want only outbound access it can be done. See the documentation WiKi.