DHCP Relay

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I have two VLANs coming into the AP (AP330). VLAN 7 is on mgt0 and VLAN 1000 is on ETH1. I am only allowing VLAN 7 traffic through eth 0 and only allowing VLAN 1000 traffic through ETH1. I have a DHCP server in VLAN 1000. When I create a DHCP realy using mgt0 interface, devices don't pull an IP address. When I set up DHCP relay with mgt0.1, it works. My question is, can I assign that DHCP relay server to every AP in the hive (all on VLAN 1000)? This doesn't seem right because it would assign the same IP address multiple times. Would I have to create a new DHCP relay using a different interface (ie mgt0.2, 0.3, etc) for every AP? They're all trying to get back to the same DHCP server.
Photo of Chris Smith

Chris Smith

  • 2 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
Chris,
I may need more coffee, I am not following you. Why do you need a relay agent on an L2 device?
Photo of Sam

Sam

  • 120 Posts
  • 31 Reply Likes

1-  You would not have to create a separate mgt0.1, .2 , .3, etc ip for each AP. Each AP can have it's own sub interface as mgt0.1

2- You should only need to designate this feature on 1 of your APs in a single L2 segment.

3- You would not want to put the same IP on the mgt0.1 address for every AP as this would cause an IP address conflict (Unless you are using NAT on the interface)


Dhcp should work if you specify 1 AP as the relay agent in a L2 segment - if that is not the case, please open a support ticket to work through this entirely, you've likely found a bug.

Photo of Chris Smith

Chris Smith

  • 2 Posts
  • 0 Reply Likes
I apologize. The DHCP server is on VLAN 1010. It was a long day.



Sam -

1-  You would not have to create a separate mgt0.1, .2 , .3, etc ip for each AP. Each AP can have it's own sub interface as mgt0.1

>> If I have 200 APs, I would have to create 200 mgt0.1 entries in HiveManager under DHCP relay?

2- You should only need to designate this feature on 1 of your APs in a single L2 segment.

>> What if this AP gets disconnected? Also, I added mgt0.1 to one of my APs, but when I tried to connect using another AP in the same VLAN, it wouldn't pull an IP until I added the mgt0.1 relay to that AP- the same mgt0.1 relay that I added to the other AP.


3- You would not want to put the same IP on the mgt0.1 address for every AP as this would cause an IP address conflict (Unless you are using NAT on the interface)

>>Agreed. This is why I'm confused. Back to question 1.. do I have to create an entry for every AP?