Losing CAPWAP to Hive Manager with VLAN Trunking and multiple DHCP Servers

  • 3
  • Question
  • Updated 5 years ago
  • Answered
Newbie Question: I'm just setting up my new Aerohive Network. I'm setting up my switches to trunk the VLAN's associated with the SSID's I've defined. I have SSID Public on VLAN 100, SSID Private on VLAN 199, and HM MGT on VLAN 900. All three of these VLANS have their own DHCP Servers, VLAN 100 192.168.1.0/24, VLAN 199 192.168.199.0/24 and VLAN 900 10.10.0.0/24. My VHM is on the 10.10.0.0/24 network. When I reboot my AP's the sometimes they lose connection to the VHM. My suspicion is that they are getting a different network IP. If I change the switch port to only VLAN 900 and reboot, it will reconnect. And then I need to add the VLAN's 100, 199 back for clients to work.
I was under the impression that CAPWAP was smart enough to find the VHM even with multiple VLAN's and DHCP Servers. Do I need to force a Static IP on each AP? This is not an issue for me, but it seems strange I need to isolate an AP out of the box on my MGT VLAN 900 so I can program a static IP.
I guess I looking for some deployment "Best Practices"
(note: My ACWA class did not get to Auto-Provisioning and I could not make the ACWP class. So perhaps my answer is in the missing subject matter???)
Photo of Jonathan Knowles

Jonathan Knowles

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 3
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Several things to check:

1. Serial into an access point and execute a "show run" command. In the configuration you are looking for the following lines:


* interface mgt0 <ip address> <subnet mask>
* ip route net 0.0.0.0 0.0.0.0 gateway <IP address>
* interface mgt0 default-ip-prefix <IP network>
* interface mgt0 vlan <VLAN ID>
* interface mgt0 native-vlan <VLAN ID>
* interface mgt0 dhcp client
* dns server-ip <IP address>
* ntp server <IP address>

Can you see any of these lines?

2. Is NTP enabled and working? Serial into an access point and execute the command "show NTP". All the NTP sources should be listed and the active NTP source will have a "*" after it. If there is no NTP source with a "*" then NTP is not active.

3. Is DNS enabled and working? Serial into an access point and execute the command "show DNS". All the DNS sources should be listed and the active DNS source will have a "*" after it. If there is no DNS source with a "*" then DNS is not active.

4. What is the native VLAN on each switch port that houses an access point?

5. If you execute a "show capwap client" command on an access point what are the "DISCOVERY state", "CAPWAP transport mode" and "Server destination Port" fields set to?
Photo of Jonathan Knowles

Jonathan Knowles

  • 2 Posts
  • 0 Reply Likes
I think I figured it out... I'm not running a local DNS Server (yet) on my management network, so I think that I need to setup a DHCP Option 226 to point to my VHM IP address.
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
You can use DHCP option 226 to specify the Hive Manager's IP address or DHCP option 225 to specify the Hive Manager's domain name.

The other option I commonly use is to make a DNS record pointing HiveManager. to the Hive Manager's IP address. This makes it easy to access the Hive Manager's web interface as you just have to type HiveManager into the web browser.