RB2011UiAS-2HnD-IN - dual ISP configuration help

Hi can someone please help with this config.

I have two ISPs…One is connected to eth1 and my router is configured as a home ap. So eth1 comes up and acts as the Internet WAN and all the other interfaces are running NAT from the
RB2011UiAS-2HnD-IN which acts as the DHCP server.

I now have a second ISP connection and need to know how to configure this new wan link on to another port so that if my main ISP WAN fails, the router switches to the standby ISP.

I found this on a search, but when I try to implement it, it does not work and also the nat pool I previously allocated seems to disappear from the quiclset local network web configuration and is replaced by the subnet of the new WAN link.

Can somebody please advise ? Note I use the GUI for configuration.

“So with your Cable connection and the fact you use the RouterOS DHCP Client on the interface, that is why the default gateway is configured automatically.
Now for the DSL, you will want to pick an interface and goto IP/Addresses and configure that port with the correct IP/Subnet that your ISP provides.
You will then need to goto IP/Routes and add a static route to 0.0.0.0/0 with the gateway set to your DSL ISP gateway and the path cost one higher then the Cable.
You can adjust the path costs accordingly.”

You’ll probably have to leave QuickSet for this. And once you do, don’t come back, because it’s not made to work with changes made outside of it.

If you just want to have backup connection and not use both at the same time, then configure default route for second one with higher distance. It can be done for both dhcp and static route. Then you’ll have to add masquerade rule for second WAN interface. And that’s enough for most basic config.

Hi,

Can you please point me to a detailed description as to how to achieve this ?

Thanks

Not unless I write one, and I’m a little lazy right now. But it should be really easy, just duplicate existing WAN1 config for WAN2. It’s either address and route (for static address) or another dhcp client (for dynamic address), and finally masquerade rule, same as existing one, only with another interface. Just two or three simple things.

Alternatively, while you’re at it, there’s some interesting reading about multiple WANs:

https://wiki.mikrotik.com/wiki/Manual:PCC

You might decide that you don’t want the other connection just doing nothing most of the time. Or just use it to understand how things work.

So this can’t be done via the GUI and must be done via command line ?

How do I see the existing config using command line ?

/export

Will show you the existing configuration at the command-line. All of the PCC configuration can be done in the GUI interfaces. I personally use SSH for everything I do in RouterOS. That is my personal preference. I also work a lot with the RC releases and new features are almost always setup initially in the RC versions to be configured by command line. The GUI configuration is usually added right before they release it into the stable tree.