Community discussions

MikroTik App
 
RoyalDunlin
just joined
Topic Author
Posts: 16
Joined: Wed Mar 16, 2016 4:19 pm

Alternate WAN ports

Wed Mar 16, 2016 5:05 pm

I recently purchased the hAP AC Lite and am using it as a travel router. Depending upon my connection options sometimes Ether1 is my WAN port and sometimes wlan1 is my WAN port. This requires a manual change to the routing and NAT settings.

Is there a way to set this up so whichever WAN interface pulls an IP to become the default route and Source NAT? They will never both be connected at the same time. These WAN interfaces are set to DHCP.
 
darkprocess
Member Candidate
Member Candidate
Posts: 255
Joined: Fri Mar 20, 2015 1:16 pm

Alternate WAN ports

Wed Mar 16, 2016 6:55 pm

Leave both rules enable it works perfectly
 
RoyalDunlin
just joined
Topic Author
Posts: 16
Joined: Wed Mar 16, 2016 4:19 pm

Re: Alternate WAN ports

Wed Mar 16, 2016 7:02 pm

So create a DHCP client, default route, and srcnat for both interfaces and the router will choose the connected interface?
 
darkprocess
Member Candidate
Member Candidate
Posts: 255
Joined: Fri Mar 20, 2015 1:16 pm

Alternate WAN ports

Wed Mar 16, 2016 8:13 pm

Yes. That's what i do and works fine.

Who is online

Users browsing this forum: Google [Bot], McSee, MikeNZ and 140 guests