different dhcp servers for different network

  • 1
  • Question
  • Updated 2 years ago
Hi,

I have 2 wifi networks setup through aerohive hmol. private and guest with each having their own user profiles assigned to them
They are on the same subnet, and on the same vlan, and currently use the same dhcp server (company windows server).

Is it possible to have the private wifi use the windows server as the dhcp server, and the ap unit itself to host the dhcp for the guest wifi but still be on the same subnet/vlan?

e.g.

private - windows dhcp - 192.168.1.0-100
guest - aerohive dhcp - 192.168.101-200

Cheers
 
Photo of Vanja

Vanja

  • 4 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Aaron Valente

Aaron Valente

  • 42 Posts
  • 3 Reply Likes
You can certainly have 2 DHCP Servers on the same subnet/vlan, perhaps you want to set up scopes for each section you want them to service, but I am not sure how you are going to solve which server wins the race to distribute the IP and lands the client in their scope. Putting them into 2 different VLANs is the "easier" option and the way I have seen it done by pretty much everyone. So you assign 2 different user profiles, and each user profile assigns a different VLAN. This design has to be, of course, supported by and configured on your switches and filtering appliance.

But if 2 different VLANs are not possible, you can use 2 different DHCP servers, each with a different scope. I think you can manipulate the DHCP server & relay settings on each Access Point, under Server Settings. 
Photo of Vanja

Vanja

  • 4 Posts
  • 0 Reply Likes
Thanks Aaron,

I know the 2 separate vlans and profiles would be the easiest way to set it up, but the current network structure is very flat and it needs to stay that way.

I would like to use 2 different DHCP servers with different scopes, but like you said, how do you dictate which server wins the race to assign the IP? Is there any way to use filters to force the guest network to look elsewhere for the DHCP server? or make the client think the actual network range is smaller than it really is?

e.g. if my vlan is a /24, but i want my guest network to only see a subnetwork of /26. so when the client broadcasts, it will only broadcast to the /26 range in which the guest DHCP server resides, thus only it will respond to the client?

Any other ideas would be great.