Community discussions

MikroTik App
 
Matthiastik
newbie
Topic Author
Posts: 44
Joined: Wed Apr 25, 2018 1:31 am

Failover for email ISP2 to ISP1

Mon Mar 09, 2020 6:17 pm

good morning,

I have programed an fail over for normal traffic from ISP1 to ISP2 and as well since ISP1 have little bandwidth i have created mangle rules for marking ISP2 for email eclusively but when ISP2 fails supposedly email do not jump to ISP1 ...

I have programed routes with recursive because ISP2 is cable modem and can not trust on Cable modem IP to show if internet passing through or not ...

routing rules i made says:

0.0.0.0/0 recursive to 8.8.8.8 distance 1
0.0.0.0/0 recursive to 8.8.4.4 Distance 2 (Cable modem)
8.8.8.8 to Gateway of ISP1
8.8.4.4 to Gateway of ISP2 or cable modem in my case 192.168.1.254

also added for emails suing ISP2 first and jump to ISP1 if failing like so and here is my question is this a good way to do it or any better way to do it .....

0.0.0.0/0 recursive 8.8.4.4 priority 4 routing mark ISP2-mail
0.0.0.0/0 recursive 8.8.8.8 priority 6 routing mark ISP2-mail

ruting tells me it is working but people complaining email will not pass when ISP2 fails but
IP-> routing have 0.0.0.0/0 8.8.8.8 priority 6 routing mark ISP2-mail marked as AS and main 0.0.0.0/0 8.8.4.4 priority 4 routing mark ISP2-mail marked as S only

thank for the help


what is going on ?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19372
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Failover for email ISP2 to ISP1  [SOLVED]

Mon Mar 09, 2020 6:27 pm

I too have a primary WAN1 and secondary WAN2 but all my email is associated with ISP provide on WAN2
So I have a separate route rule for email.
If the gateway to my secondary ISP is down then it doesnt matter for me, i cannot access my email.

I am assuming you have an email system independent upon which ISP??
 
Matthiastik
newbie
Topic Author
Posts: 44
Joined: Wed Apr 25, 2018 1:31 am

Re: Failover for email ISP2 to ISP1

Mon Mar 09, 2020 6:43 pm

good evening, appreciate your response.

I guess the answer is yes let me see if you understand it this way and make it clear ..

They have an web server depending on ISP1 but bandwidth is very low 5Mb for up and down size and
the backup is cable modem with 20Mb down ad 3 Mb UP ..

So i mark all emails traffic for ISP2 mainly too keep ISP1 free as much as possible for other non email traffic
and yes the email server is in the cloud

Hope that helps ...

Who is online

Users browsing this forum: Bing [Bot], infabo, pama and 116 guests