We have multiple Wifi Access Point devices on the network. We want to assign IP addresses to the wifi clients from the ADS server using DHCP server which is installed.

We want to assign a specific IP address scope to a specific wifi access point.

If I define multiple IP address scopes in the DHCP , how do I assign a particular scope to a specific wifi device ?

4 Spice ups

Sometimes we need to know the limitations of what “we want” especially in terms of “why we want what we want” ?

BTW, what do you mean by ADS server ?
Also what is the end goal or what do you want to achieve ?

2 Spice ups

We’d need a bit more info:

What access points you are using as many enterprise solutions handle DHCP.
What the Wifi network is to be used for (Eg guest or private).

Regardless of the above though the quick and dirty way to assign IP addresses to each access point would be to stick them on their own vlan with a helper address setup to your DHCP server. Note: this solution doesn’t consider any security implications etc.

Also in years of working with enterprise wifi I’ve never had any situation that needed a specific scope to a specific wifi access point, specific scope for a wifi network ssid yes, but not the former.

3 Spice ups

The “normal” way to do this would be with VLANs.

Put your wired and WiFi network in different VLANs. Enable routing between the VLANs (where and how depends on your equipment). Assign a VLAN interface (used as the gateway for the VLAN). Set IP-helper address in the VLAN to point to the DHCP server (if in another VLAN, it just works otherwise). Configure DHCP scopes corresponding to the addresses you want to hand out in each VLAN.

Corp Wired VLAN:

  • VLAN 10
  • VLAN interface: 10.0.10.1/24
  • ip-helper: 10.0.5.10

Corp WiFi VLAN

  • VLAN 20
  • VLAN interface: 10.0.20.1/24
  • ip-helper: 10.0.5.10

Server VLAN:

  • VLAN 5
  • VLAN interface: 10.0.5.0/24
  • DHCP server: 10.0.5.10/24

Create DHCP scopes for 192.168.10.0/24 and 192.168.20.0/24 in the DHCP server. When it gets forwarded a DHCP request from a VLAN it will respond with an offer from the DHCP scope corresponding to the IP address of the VLAN interface (where the request was forwarded from).

If you want to have a specific scope per AP, then you extend the above logic, and create a VLAN per AP.

7 Spice ups

Yes, wondering is OP isn’t aware it can be done this way. Presuming he wants to authenticate devices to zones, which is the only reason I can think of for dividing DHCP this way.
But using SSID can do all this much more cleanly, assuming the devices are not totally brain dead..

And if you don’t care who is using the access point, then just let the AP’s do their own DHCP…

2 Spice ups