Community discussions

MikroTik App
 
AJayil
just joined
Topic Author
Posts: 13
Joined: Tue Mar 09, 2010 3:50 am

2 or more Hotspots on 1 device

Fri Mar 04, 2011 6:52 pm

Im trying to setup a different hotspot on 2 PORTS , on a RB493.

How do I change the gateway so each hotspot has its own?

By default the hotspot just uses the gateway set in routes.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: 2 or more Hotspots on 1 device

Fri Mar 04, 2011 11:22 pm

Set a routing mark for one ip range.
/ip firewall mangle
add chain=prerouting action=mark-routing new-routing-mark=route2 src-address=192.168.1.0/24
Then add a second default route
/ip route
add dst-address=0.0.0.0/0 gateway=x.x.x.x routing-mark=route2
x.x.x.x is gateway for 192.168.1.0/24. All others will take the default route with no routing-mark.

Who is online

Users browsing this forum: cage7557, CGGXANNX and 64 guests