Community discussions

MikroTik App
 
Faritzi667
just joined
Topic Author
Posts: 1
Joined: Mon Feb 22, 2021 7:13 pm

how to route two isp on different routers?

Mon Feb 22, 2021 7:31 pm

I am trying to route LAN 2 to ISP 2?
multisp.png
It only works for me if I go to router 2 having a single route 0.0.0.0

Image
You do not have the required permissions to view the files attached to this post.
 
sindy
Forum Guru
Forum Guru
Posts: 6932
Joined: Mon Dec 04, 2017 9:19 pm

Re: how to route two isp on different routers?

Tue Feb 23, 2021 10:15 pm

You have to use policy routing at both Router 1 and Router 2.
  • at Router 1, packets coming from 192.168.3.0/24 (or from ether4) must be handled by a dedicated routing table whose default gateway is Router 2's address in 192.168.10.0/24.
  • at Router 2, packets from 192.168.3.0/24 must be handled by a dedicated routing table whose default gateway is Router 3's address in 192.168.20.0/24.
You can use /ip firewall mangle or /ip route rule to assign routing-mark values.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: accarda, akakua, anav, Baidu [Spider], Bing [Bot], Google [Bot], gotsprings, grumpazoid, mkx, sindy, spr41178 and 212 guests