Skip to main content
Added more information addressing the question.
Source Link
cmm
  • 226
  • 2
  • 4

Do not forget the DHCP lease durations. A typical router may only have 100, and probably less than 254, available IP addresses, depending on how the DHCP server is configured. When a new client (WiFi or wired) connects, an IP address is leased to the MAC address of the device. That lease is reserved for the DHCP lease time.

You will need to set the DHCP lease time to be shorter than the default (often between 15 minutes and one week). The best duration may be at least twice the expected duration of the longest connection. The DHCP protocol requires that the client begin to renew the lease when it has one half of the duration remaining.

If you find that the shortest lease time is long enough that you must have a unique IP address for every device that connects, be sure that you open a large enough address range, and that your router (which typically includes the DHCP server) can handle that number of simultaneous assignments.

So summarize, there are limits everywhere. Your question focuses on the number of simultaneous WiFi links an AP (access point) will support. You should also check on the number of DHCP assignments your DHCP server (often part of the router) can service.

I separate the functions of AP and Router/DHCP server based on my experience with my home WiFi network and collection of IOT devices. I have 5 "routers". Fourare used only as access points. One has the DHCP server enabled but has WiFi disabled. By having a single DHCP server, my IOT devices keep the same IP assignments as the devices move through the house, or access conditions change.

For distributing the load amount the clients, you could use, as you propose, a smart protocol where the reconnection time is given with each connection. You could also use a scheme where the reconnection cycle was fixed, and the phase in the cycle was determined by a hash on the MAC address. That way, each device knows what to do, the load is spread moderately evenly, and no central control algorithm or change in protocols is needed.

Do not forget the DHCP lease durations. A typical router may only have 100, and probably less than 254, available IP addresses, depending on how the DHCP server is configured. When a new client (WiFi or wired) connects, an IP address is leased to the MAC address of the device. That lease is reserved for the DHCP lease time.

You will need to set the DHCP lease time to be shorter than the default (often between 15 minutes and one week). The best duration may be at least twice the expected duration of the longest connection. The DHCP protocol requires that the client begin to renew the lease when it has one half of the duration remaining.

If you find that the shortest lease time is long enough that you must have a unique IP address for every device that connects, be sure that you open a large enough address range, and that your router (which typically includes the DHCP server) can handle that number of simultaneous assignments.

So summarize, there are limits everywhere. Your question focuses on the number of simultaneous WiFi links an AP (access point) will support. You should also check on the number of DHCP assignments your DHCP server (often part of the router) can service.

I separate the functions of AP and Router/DHCP server based on my experience with my home WiFi network and collection of IOT devices. I have 5 "routers". Fourare used only as access points. One has the DHCP server enabled but has WiFi disabled. By having a single DHCP server, my IOT devices keep the same IP assignments as the devices move through the house, or access conditions change.

Do not forget the DHCP lease durations. A typical router may only have 100, and probably less than 254, available IP addresses, depending on how the DHCP server is configured. When a new client (WiFi or wired) connects, an IP address is leased to the MAC address of the device. That lease is reserved for the DHCP lease time.

You will need to set the DHCP lease time to be shorter than the default (often between 15 minutes and one week). The best duration may be at least twice the expected duration of the longest connection. The DHCP protocol requires that the client begin to renew the lease when it has one half of the duration remaining.

If you find that the shortest lease time is long enough that you must have a unique IP address for every device that connects, be sure that you open a large enough address range, and that your router (which typically includes the DHCP server) can handle that number of simultaneous assignments.

So summarize, there are limits everywhere. Your question focuses on the number of simultaneous WiFi links an AP (access point) will support. You should also check on the number of DHCP assignments your DHCP server (often part of the router) can service.

I separate the functions of AP and Router/DHCP server based on my experience with my home WiFi network and collection of IOT devices. I have 5 "routers". Fourare used only as access points. One has the DHCP server enabled but has WiFi disabled. By having a single DHCP server, my IOT devices keep the same IP assignments as the devices move through the house, or access conditions change.

For distributing the load amount the clients, you could use, as you propose, a smart protocol where the reconnection time is given with each connection. You could also use a scheme where the reconnection cycle was fixed, and the phase in the cycle was determined by a hash on the MAC address. That way, each device knows what to do, the load is spread moderately evenly, and no central control algorithm or change in protocols is needed.

Source Link
cmm
  • 226
  • 2
  • 4

Do not forget the DHCP lease durations. A typical router may only have 100, and probably less than 254, available IP addresses, depending on how the DHCP server is configured. When a new client (WiFi or wired) connects, an IP address is leased to the MAC address of the device. That lease is reserved for the DHCP lease time.

You will need to set the DHCP lease time to be shorter than the default (often between 15 minutes and one week). The best duration may be at least twice the expected duration of the longest connection. The DHCP protocol requires that the client begin to renew the lease when it has one half of the duration remaining.

If you find that the shortest lease time is long enough that you must have a unique IP address for every device that connects, be sure that you open a large enough address range, and that your router (which typically includes the DHCP server) can handle that number of simultaneous assignments.

So summarize, there are limits everywhere. Your question focuses on the number of simultaneous WiFi links an AP (access point) will support. You should also check on the number of DHCP assignments your DHCP server (often part of the router) can service.

I separate the functions of AP and Router/DHCP server based on my experience with my home WiFi network and collection of IOT devices. I have 5 "routers". Fourare used only as access points. One has the DHCP server enabled but has WiFi disabled. By having a single DHCP server, my IOT devices keep the same IP assignments as the devices move through the house, or access conditions change.