AP will not get an IP from DHCP server, but a client computer plugged into the same ports receives an IP.

  • 1
  • Question
  • Updated 2 years ago
  • Answered
When I plug an AP into a port it does not receive an IP from DHCP. Testing the same port with a client PC, the client gets an IP right away.

If I let the AP sit connected to this port, about 20 hours later it will pick up an IP.

I'm really stuck on this one.
Photo of Jason Whitaker

Jason Whitaker

  • 1 Post
  • 0 Reply Likes
  • confused

Posted 4 years ago

  • 1
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2487 Posts
  • 449 Reply Likes
Wireshark it?
Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
I just plugged a AP350 into my switch new out of the box. Default vlan and native vlan on AP is vlan 1 and vlan 1. I consoled in an changed the mgmt0 vlan to my AP mgmt vlan and the native vlan to my native vlan. I noticed that the interface did not pick up an IP from my dhcp server, used the default aerohive IP. I saved the ap config and reboot it and it got an IP after reboot.

So maybe depending how you have you vlans setup, maybe the default vlan or native vlan is causing some issues.

I assume you are trunking on the switch and have a native vlan set.
try making sure the switch vlan configuration matches your ap mgt0 setup, and see if that helps.

commands you can use to set the vlan and native vlan are
interface mgt0 vlan X
interface mgmt0 native-vlan Y

you can use show interface mgt0

to verify

Photo of Tim Belfield

Tim Belfield

  • 15 Posts
  • 1 Reply Like
I set my switch port as trunked and assign a native vlan to the port. I do not make any changes to the AP. When I plug in the AP it is assigned and IP addresses and load the latest firmware and configuration file from HiveManger.