Community discussions

MikroTik App
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

hotspot Config help

Sun Jan 27, 2013 7:32 am

Hi
i have a hotspot setup on ether1 of a RB2011UAS-RM
Removed configs due to security issue
Last edited by kgninfos on Sat Apr 13, 2013 6:02 pm, edited 1 time in total.
 
User avatar
vixxant
newbie
Posts: 38
Joined: Thu Mar 17, 2011 7:36 pm
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 7:58 am

ip hotspot ip-binding add address=172.31.0.0/24 type=bypassed
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 8:32 am

Not working
i am not able to ping from 172.16.0.254 to 172.31.0.2
i have configured the ip 172.16.0.254 on my laptop and authenticated on hotspot
 
User avatar
vixxant
newbie
Posts: 38
Joined: Thu Mar 17, 2011 7:36 pm
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 8:39 am

can you do a ping from your router to 172.31.0.2 ?
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 9:13 am

yes i can ping from router to 172.31.0.2
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot Config help

Sun Jan 27, 2013 12:33 pm

Have you tried disabling the hotspot universal NAT?
/ip hotspot
set 0 address-pool=none
edit: If that isn't it, you should post "/ip address", "/ip hotspot profile", and "/ip firewall nat".
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 1:12 pm

yes the ip pool is none
Removed configs due to security issue
Last edited by kgninfos on Sat Apr 13, 2013 6:04 pm, edited 1 time in total.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot Config help

Sun Jan 27, 2013 1:16 pm

...and "/ip address"?

edit: ...and "/ip firewall nat"?
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 2:14 pm

Removed configs due to security issue
removed some sensitive config like the wan ip
and general hotspot config from the code

every thing is normal
Last edited by kgninfos on Sat Apr 13, 2013 6:02 pm, edited 1 time in total.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot Config help

Sun Jan 27, 2013 3:09 pm

I just checked mine. I set up a hotspot on ether3 with ip 192.168.2.1/24 with the 1:1 NAT disabled. Then I assigned 192.168.5.1/24 to ether3 and added that range to "/ip hotspot ip-binding" as type=bypassed. I put a device on the interface with 192.168.5.2/24. It worked fine.

There isn't anything in "/ip firewall filter" that would block that, is there?

edit: I cannot ping 192.168.5.0/24 range from the 192.168.2.0/24 range (or the other way) unless I am logged in on the hotspot with the 192.168.2.x device. You could probably avoid needing to login by entering the 192.168.5.0/24 subnet in "/ip hotspot walled-garden ip". I did not check that.
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: hotspot Config help

Sun Jan 27, 2013 5:16 pm

actually i forgot to add route on the ap 172.31.0.2 to reach 172.16.0.0/24

it's working now with just the ip binding setup