Community discussions

MikroTik App
 
User avatar
amb3r
just joined
Topic Author
Posts: 16
Joined: Fri Oct 31, 2014 8:35 am

Multiple ISP with Public IP unreachable

Mon Nov 13, 2023 2:22 pm

I have multiple ISP with public IP, i can only reach default gateway 1 ISP public IP, how can i reach all public IPs?

WAN1 1.1.1.1 disatance 1 default gateway = reachable
WAN2 2.2.2.2 distance 2 = unreachable remotely to open winbox of 80/http
WAN3 3.3.3.3 distance 3 = same result unreachable
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12558
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Multiple ISP with Public IP unreachable

Mon Nov 13, 2023 2:38 pm

you must fix your routing, because probably when you try to reach 2.2.2.2 the route reply by 1.1.1.1 that is unexpected...
 
User avatar
amb3r
just joined
Topic Author
Posts: 16
Joined: Fri Oct 31, 2014 8:35 am

Re: Multiple ISP with Public IP unreachable

Mon Nov 13, 2023 2:42 pm

you must fix your routing, because probably when you try to reach 2.2.2.2 the route reply by 1.1.1.1 that is unexpected...
do you have a sample config? i have tried setting up Rules and Routing but still not showing up, i can see torch have packets but no response from web view.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11151
Joined: Mon Dec 04, 2017 9:19 pm

Re: Multiple ISP with Public IP unreachable

Mon Nov 13, 2023 3:40 pm

If you currently don't use any mangle rules assigning routing-mark and you don't have any routing tables except the default one, use the following:

If you use RouterOS 6:
/ip route add routing-mark=via-wan2 gateway=gw.ip.of.wan2
/ip route rule add src-address=own.ip.of.wan2 action=lookup-only-in-table table=via-wan2


If you use RouterOS 7:
/routing/table/add name=via-wan2 fib
/ip/route/add routing-table=via-wan2 gateway=gw.ip.of.wan2
/routing/rule/add src-address=own.ip.of.wan2 action=lookup-only-in-table table=via-wan2

Who is online

Users browsing this forum: junbr0 and 22 guests