05-22-2019 01:06 AM - edited 07-05-2021 10:26 AM
Customer has two Ha-pairs of 2504. Now the first ones license is becoming full. I need to move some of the ap's from first HA-pair to second.
Network layout is pretty simple. HA-pair 1 is at network same network with ap's with ip 192.168.91.0/24. Second HA-pair is at network 192.168.92.0/24. Both networks has different DHCP pool. No DHCP options in use.
When i change untagged (native) vlan (network) from 91 to 92 AP gets right ip address after reboot but is assosiated to controller at .91 network. I tried to configure High Availability controllers under AP but it did nothing. Same thing, after reboot AP is back at .91 controller even if it has .92.x ip (and .92 controllers as high availability). So conclusion is that AP stores info about the controller somewhere and even high availability config does not bypass this.
Only way to get the AP to new controller is to reset it to factory defaults. This option takes long time and i wouldn't want to do the change this way.
So am I doing something wrong. Is there a way to change controller for ap just by rebooting it if it gets new ip address?
Solved! Go to Solution.
05-27-2019 04:16 AM
05-22-2019 01:18 AM
Make sure to configure on AP "High Avlailability" with WLC-2 details entered as the Primary Controller. This will force the AP to join the correct controller: WLC-2.
APs are in local mode or flexconnect mode ?
Regards
Dont forget to rate helpful posts
05-22-2019 01:25 AM
Thank you for the reply.
I have already done this. So ap is at .91.21 controller (wlc-1-ha) even though it has Primary controller ip 92.20 & secondary ip 92.21 (wlc-2 & wlc-2 HA) configured under high availability. AP also has ip from 92.x network so somehow ap uses L3 adaptation without DHCP option or high availability config.
AP's are at Flexconnect mode.
05-22-2019 02:10 AM
05-22-2019 03:18 AM
Nothing. I have already done that. Normally AP's do not even use that setting because controllers use L2 adaptation. So basically i have ap with ip 192.168.92.x/24 at controller with ip 192.168.91.x/24. Ap has primary controller 192.168.92.20 and still it sits at 192.168.91.20. Only if i factory reset the ap it will change the controller (without primary controller setting though).
05-22-2019 04:05 AM
05-22-2019 04:23 AM
Yes, I have 50 ap license and only 10 in use.
05-22-2019 04:56 AM
05-22-2019 06:47 AM
WLC-pair 1 sits in the same network as the AP's
WLC-pair-2 is in different subnet as AP's
you do not use DHCP option
you do not use DNS entry
Look at his sequence of WLC discovery:
1. Broadcast on the local subnet
2. Local NVRAM list of the previously joined controller, previous mobility group members, and administrator primed controller through the console port
3. Over the Air Provisioning (OTAP) (subsequently removed in version 6.0.170.0 code)
4. DHCP Option 43 returned from the DHCP server
5. DNS lookup for "CISCO-CAPWAP-CONTROLLER.localdomain"
so it will allways find the local subnet controller first
-> put the AP switchport in vlan10 or vlan20
- configure dhcp option for vlan10 in WLC1, WLC2
- configure dhcp option for vlan20 in WLC2, WLC1
so the local broadcast will not be succesfull, and the WLC is found by DHCP option or preconfigured primary/secondary
05-22-2019 11:07 PM
05-22-2019 10:59 PM - edited 05-22-2019 11:02 PM
@ patoberli I suspect the same thing, that AP stores information of the old controller somewhere and it remember that info even after reboot. Even though the manual states that it does the broadcast on local subnet first.
Unfortunaly im only admin for this network and its real location is somewhat far, so I can't get the output from the bootup
05-22-2019 11:57 PM
05-27-2019 03:37 AM
Didn't find any log related to this.
There were Master controller enabled but removing it did nothing. Only that some of the ap's are now at HA-controller (but still at .91 network).
05-27-2019 04:16 AM
05-27-2019 04:34 AM
That did it. I have slightly different names at .92 controllers. And when i used exactly same sysname as in under Controller -> general - > name I got ap's to change the controller. I didn't know that the name was also factor when choosing controller. Always though that it is only ip that matters.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide