Community discussions

MikroTik App
 
brosky
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Fri Mar 27, 2009 3:43 pm
Contact:

Hotspot weird problem on multiple similar setups

Tue Dec 20, 2011 9:08 pm

This has been presented by me a while ago with no help :(

the setup is like this:
ether1 - fixed ip from ISP
bridge1 (ether2-3-4-5) - the customers network with hotspot.
dhcp server on bridge1, lease time 1 day
hotspot setup standard, cookie expire in 3 days

Problem: at random times, a user gets ip from dhcp server but it does not receive the hotspot login page.
I can see it's mac, I can see it's lease, but i can't ping it.
From the client side , everything looks normal, i get the ip , i can't ping the gw
(on working customer i get a "destination net unreachable" message before hotspot auth, on weird customer i get request time out)

Solution no.1:
- disable hotspot (customer has now a working internet connection)
- delete customer cookie
- reboot mikrotik
- enable hotspot (customer now has hotspot login page, and after auth, a working connection)

Solution no.2:
- I noticed that if the customer receives the last ip from dhcp pool (.254, .253), he will not have a working connection.
- adding a bogus MAC on that ip (eg. 192.168.1.254, 192.168.1.253), customer receives a new ip and it has a working connection.


I deal with this problem since a year now, with no solution
This happents on 4.xx to 5.xx, no matter how many users are active.

I also noticed that if there are no sudden reboots (power failures), this will not happen for a few days.

Any suggestions are appreciated.
Thank you.
 
remo85
just joined
Posts: 13
Joined: Mon Dec 05, 2011 11:52 pm

Re: Hotspot weird problem on multiple similar setups

Tue Dec 20, 2011 9:56 pm

I`m not an expert in mikrotik,still i faced such kind of problem when i had the ip`s 192.168.1.1-254,,,most AP and router has such default ip,,so it may make a loop within Your network,,when i changed it to 192.168.100.1-254 i didnt face tht problem.
hope tht may help
 
brosky
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Fri Mar 27, 2009 3:43 pm
Contact:

Re: Hotspot weird problem on multiple similar setups

Tue Dec 20, 2011 10:04 pm

I`m not an expert in mikrotik,still i faced such kind of problem when i had the ip`s 192.168.1.1-254,,,most AP and router has such default ip,,so it may make a loop within Your network,,when i changed it to 192.168.100.1-254 i didnt face tht problem.
hope tht may help
thank you , but that was an example, i actually use 10.0.x.x class... so this happents on 10.0.100.253..10.254, 10.0.101.253..101.254
 
brosky
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Fri Mar 27, 2009 3:43 pm
Contact:

Re: Hotspot weird problem on multiple similar setups

Mon Dec 26, 2011 10:36 am

i see that this is getting no answer, not from Mikrotik or from the community. :(

I noticed that users who are bypassed don't have this problem.
I want to try with MAC auth... so, it's enough just to check that on hotspot settings
to make it a mac-auth based hotspot from a http login based hotspot ?

Who is online

Users browsing this forum: No registered users and 195 guests