I need help very Urgently, I am trying my hands on Computer Support business, and my client asked for a device can switch between two ISP modems for fail over.
I just recommended microtik straight away, and I bought it with no prior knowledge of configurations.
Now i have altered the out-of-the-box programmed config while searching for forums online and trying out stuff.
Pls I need someone to either:
help by logging into the box ( remotely I am willing to give anyone who can help me the access)
or give me a step by step configuration to copy and paste, to help me set up the interfaces, DHCP,Routes, firewall etc.)
Go pay a consultant. I think it’s extraordinarily rude to promise a client something you are not qualified to do, and then ask someone else to do the job you’re getting paid for without compensation.
If you want some links to the manual that are relevant to what you’re trying to do so you can read up on it and adjust it to your specific needs, post back and ask for that. That’d be fine. But asking for a step for step customized config you’re trying to get paid for - not cool.
You are right, Just that i didn’t consider it will turn out like this.
Not sure i will get paid at all cos it is a friend’s shop,and i’m not sure i can afford to pay a consultant.
you say you don’t need to do load balancing, only failover;
connect main modem (with higher speed or better) to let’s say eth1, set IP, gateway (IP of modem) with distance 1, set to check gateway and comment “line1”;
connect backup modem to let’s say eth2, set IP, gateway (IP of modem) with distance 2, set to check gateway and comment “line2”;
configure other ports to switch (let’s say eth3 as master, 4 and 5 as slaves);
connect local network to switched ports (eth3+) - local interface;
configure DHCP for local interface;
configure NAT for outgoing eth1, eth2;
if modem if failing, then it should work now, but if line is failing (problem of ISP), then it’s not so easy and you need to find a good checkpoint (non-stop ping responding IP in internet) and do other steps:
set static route to checkpoint using modem1 as gateway;
add Netwatch checking checkpoint every 5 seconds, action on down:
/log info "line1 up"
/ip route enable [find comment="line1"]
If I didn’t forget anything, it should work, but: if you are using some public IP addresses mapped to local server, it can’t work - then it would be necessary to use something like DynDNS and add script to switch between outer IP.