OpenWrt Forum Archive

Topic: Config DHCP for more than 255 connections...

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello Community,

i am a eventfotograf from Germany and I have a Photobooth system, in which a router with OpenWRT runs. The guests should connect themselves with the WLAN from OpwnWRT and then the pictures can be seen.

This also works great. But how can I configure OpenWRT, which can be even more than ~350 guests at the same time connect?

My current configuration:

Interface - LAN:
IPv4 address: 192.168.1.1
IPv4 netmask: 255.255.255.0

DHCP Server:
Start: 10
Limit: 240
Leas time: 1h

Sorry for my english...

Best regards,
Lars

Use a different lan segment for your clients.
192.168.1.x allows only 255 addresses.

Something like:

IPv4 address: 10.0.0.1
IPv4 netmask: 255.255.254.0

This will give you 512 addresses..
Change the netmask if you need even more.

Many Thanks!

Do I have to change start and limit ?

Yes, limit needs to be increased.

Start is just to reserve some addresses that will not be issued by DHCP, in case you have a printer, server, etc. that you want to use a static address.

OK. Many thanks for fast help !

Keep in mind that no single wlan chip can actually serve that many concurrent clients wirelessly, the hard limit is more in the 30-40 range (for concurrently connected STA clients).

(Last edited by slh on 18 Mar 2017, 20:03)

you have increase the limit to the number of clients/devices.

The discussion might have continued from here.