Community discussions

MikroTik App
 
kupfistanton
just joined
Topic Author
Posts: 11
Joined: Wed Apr 10, 2013 8:39 pm

need more dhcp adresses for the hotspot function

Mon Feb 20, 2017 12:51 pm

Hi,
I wonder if someone could help me with the hotspot function in a rb 951 router..
I am running the hotspot function on the bridge 1 with the port eth2 up to wlan,

I did the normal hotspot setup and it works fine, but we now need more than 254 dhcp adresses.
What must I do that we can distribute much more adresses and where do we have to change this?

Thanks in advance for your help :)
Regards Arthur
 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: need more dhcp adresses for the hotspot function

Tue Feb 21, 2017 11:54 am

You can use another IP address.

Use 172.16.0.1/16 will provide 65534 IP address
 
kupfistanton
just joined
Topic Author
Posts: 11
Joined: Wed Apr 10, 2013 8:39 pm

Re: need more dhcp adresses for the hotspot function

Thu Feb 23, 2017 8:42 pm

hi gustavomam,
thank for your suggestion.
what i did so far now:
in the dhcp server I changed the ip adress into 10.5.50.0/23
So I should have now 512 adresses.
changing it into 10.5.50.0/22 is not possible.
Can anyone tell me why?

Btw.
When I want to change the adresses after a hotspot setup with 10.5.50.0/24 into 172.16.01/16
can I do this in the dhcp server and thats it? should I do the hotspot setup again???
what about the gateway then?
Thanks in advance!
 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: need more dhcp adresses for the hotspot function

Fri Feb 24, 2017 10:06 am

Hi

10.5.50.0/22 is not possible network cause 50 in binary 00110010 is a host address for 3th byte so you can not use as network address.
IP Range 10.5.48.1 - 10.5.51.254 so 10.5.50.0/22 is a IP between range. 1022 host available
10.5.48.1/22 should be the gateway ( IP address on interface)

10.5.50.0/23
10.5.50.1/23 should be the gateway ( IP address on interface)
IP Range 10.5.50.1 - 10.5.51.254. 510 host available

Remember network and IP address are different, you can use http://www.subnet-calculator.com to check IP address/network you would like to use.

Router expect IP address in a interface with format 10.5.0.1/16 and automatically knows belong to 10.5.0.0/16 network if you don't specify

My advice is with the new IP address, make hotspot setup again because you will need a new pool, new DHCP server, etc etc in order to your hotspot work properly.

Regards.
 
kupfistanton
just joined
Topic Author
Posts: 11
Joined: Wed Apr 10, 2013 8:39 pm

Re: need more dhcp adresses for the hotspot function

Sun Feb 26, 2017 8:19 pm

Hi gustavomum,
thanks for your reply.
Is it possible, that you can give me an Example, when making a hotspot setup
1 Local Adress of network should be?
2 Adress pool of Network?

What adresses should I use that I can distribute about 10.000 Adresses?

Regards
kupfistanton
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: need more dhcp adresses for the hotspot function

Sun Feb 26, 2017 9:40 pm

Rather than making your subnet larger to allow so many addresses which would cause you a huge amount of issues why dont you reduce your lease time. There is no way you will have 254 concurrent connections. If you look at the maximum amount of time a client may stay connected for and adjust your lease time this should resolve your issue. Having a massive broadcast domain is a big no no try stick to 512 or under otherwise you will start to affect performance.
 
kupfistanton
just joined
Topic Author
Posts: 11
Joined: Wed Apr 10, 2013 8:39 pm

Re: need more dhcp adresses for the hotspot function

Mon Mar 06, 2017 3:02 pm

Hi,
Rather than making your subnet larger to allow so many addresses which would cause you a huge amount of issues why dont you reduce your lease time.
My Problem ist that we are running a hotel with more than 200 beds.
Nowadays lot of people show up with more than 2 devices.
All customers should login with the same login and password anyway, and they should stay in without having to login again.

I thought enlarging the dhcp pool might be the easiest I can do.
At the moment everything runs ok, but one issue.

Altough I use mac-cockie (3days), the clients still get kicked out and they have to relogin again :(
Does anyone know why this can happen?

Regards Arthur

Who is online

Users browsing this forum: CoMMyz, uxertxo and 78 guests