Community discussions

MikroTik App
 
rog
just joined
Topic Author
Posts: 2
Joined: Tue Dec 03, 2019 2:16 pm
Location: Poland

2 nats, 2 wan, 2 gw on lan

Tue Aug 03, 2021 11:54 am

2 wans (on sfp and on ether1), one lan (192.168.88.x) and in this lan 2 gateways - first 192.168.88.1 (nat to sftp), second gateway 192.168.88.2 is new and i want to nat from this gw to second wan (ether1). server dhcp is on linux server out of mikrotik. Is it possible to create this ?
I want do manage which station will use wan1 or wan2 by selecting gw 192.168.88.1 or gw 192.168.88.2
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 2 nats, 2 wan, 2 gw on lan

Tue Aug 03, 2021 5:50 pm

Your explanation is weak and almost contradictory.
If you have two lan gateways you actually have two LANs (two subnets).

So you want subnet1 to use ISP1 and you want subent2 to use ISP2.
Do you want any failover scenario ?
What happens if ISP1 is unavailable and what happens if ISP2 is unavailable ( I am assuming they are from two different providers)??
 
rog
just joined
Topic Author
Posts: 2
Joined: Tue Dec 03, 2019 2:16 pm
Location: Poland

Re: 2 nats, 2 wan, 2 gw on lan

Wed Aug 04, 2021 10:35 am

One lan, first address is first gw and second adress will be second gateway.
first wan is connected to sfp1 (working - nat) and second to ethernet1 (out of bridge1).
dhcp server is outside mikrotik (on linux server). I want to manage which wan will be used by lan stationons by selecting manually by users gateway1 or gateway2.

Who is online

Users browsing this forum: No registered users and 34 guests