Page 1 of 1

hotspot Config help

Posted: Sun Jan 27, 2013 7:32 am
by kgninfos
Hi
i have a hotspot setup on ether1 of a RB2011UAS-RM
Removed configs due to security issue

Re: hotspot Config help

Posted: Sun Jan 27, 2013 7:58 am
by vixxant
ip hotspot ip-binding add address=172.31.0.0/24 type=bypassed

Re: hotspot Config help

Posted: Sun Jan 27, 2013 8:32 am
by kgninfos
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

Re: hotspot Config help

Posted: Sun Jan 27, 2013 8:39 am
by vixxant
can you do a ping from your router to 172.31.0.2 ?

Re: hotspot Config help

Posted: Sun Jan 27, 2013 9:13 am
by kgninfos
yes i can ping from router to 172.31.0.2

Re: hotspot Config help

Posted: Sun Jan 27, 2013 12:33 pm
by SurferTim
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".

Re: hotspot Config help

Posted: Sun Jan 27, 2013 1:12 pm
by kgninfos
yes the ip pool is none
Removed configs due to security issue

Re: hotspot Config help

Posted: Sun Jan 27, 2013 1:16 pm
by SurferTim
...and "/ip address"?

edit: ...and "/ip firewall nat"?

Re: hotspot Config help

Posted: Sun Jan 27, 2013 2:14 pm
by kgninfos
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

Re: hotspot Config help

Posted: Sun Jan 27, 2013 3:09 pm
by SurferTim
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.

Re: hotspot Config help

Posted: Sun Jan 27, 2013 5:16 pm
by kgninfos
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