cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5758
Views
15
Helpful
16
Replies

Cisco 9130X not getting IP Address from DHCP server running on switch

Hello All
Looking for help on troubleshooting access point 9130X. I have DHCP server/scope running on Cisco 9200 ( switch 1 ) and can see it is handing IP address to AP but I am not able to ping/reach Access point. I have switchport setup to access port ( switch 2 ) but when doing cdp neighbor detail I am not seeing any IP address on Access point. Not sure what is wrong. Is leasing expiring ? ( odd ) Here is my config

Switch 1 configuration : Running DHCP
ip dhcp pool WirelessMgt_DHCP
network 192.168.11.0 255.255.255.128
default-router 192.168.11.1
service dhcp
output of ip dhcp binding:
192.168.11.62 01xx.11xx.623a.dx Oct 03 2022 04:18 PM Automatic Selecting Vlan710
( not correct MAC I changed some characters)

Switch 2 configuration:
switchport mode access
switchport access vlan 710
cdp neighbor detail shows AP MAC which is same as one in dhcp binding but without IP address.

Appreciate everyone's help.

16 Replies 16

Arshad Safrulla
VIP Alumni
VIP Alumni

Do you have DHCP/ARP snooping enabled on switches? If yes and you are running EWC on this AP, AP will request 2 IP addresses. Make sure your configuration allows that. (One for the EWC and another for the AP itself)

What is the WLC you are trying to register the AP? If the AP is running EWC you need to configure it as a trunk port with management VLAN as native VLAN as EWC supports only Flex AP mode.  (it is recommended that you allow only wireless VLAN's over the trunk connecting to AP/WLC)

I tried with and without DHCP snooping enabled but no luck. AP model -  cisco C9130AXI-B, Cisco AP Software, Version: 17.6.4.56

when I look at ip dhcp binding state is selecting.....feels like AP is trying to select an IP but not able to.

Console the AP and share the boot up sequence.

What WLC is this AP registering to? If you connect a PC to the port does it get an IP address.

*****Help out other by using the rating system and marking answered questions as "Answered"*****
*** Please rate helpful posts ***

9800 WLC, but dhcp server is running on a Cisco 9200 switch. I will try to check boot sequence and connect a laptop to see if gets IP once I get a chance.

 

 

I was able to resolve DHCP issue....my bad I had a typo on default router. Now my WLC can ping access point but it wont join WLC. Do I need to add a command on wlc so that AP's can discover 9800 WLC ? I had already added AP's MAC under authentication list but no good. thanks for help.

1. You need a method for the AP to discover the WLC - since you're using DHCP on the switch option 43 would be simplest.
https://www.cisco.com/c/en/us/support/docs/wireless-mobility/wireless-lan-wlan/97066-dhcp-option-43-00.html#anc11
2. 9800 WLC needs to have wireless management interface configured.
wireless management interface VlanXXX
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/17-6/config-guide/b_wl_17_6_cg/m_config-wmi.html

thanks for sharing these links, they are helpful. Access point is able to see WLC but I am seeing some errors on AP and its still unsuccessful in joining WLC. Please refer to error log on AP:
Discovery response from MWAR running version 17.3.3.26 is rejected.
Failed to decode discovery response ( status = 4)
CAPWAP SM handler: Failed to process message type 2 state 2
Failed to handle capwap control message from controller - status 4
Failed to process unencrypted capwap packet 
Failed to send capwap message 0 to the state machine. Packet already freed.

pgilluwogmailcom_0-1664905518540.png

 



what model WLC you running and software version

 

*****Help out other by using the rating system and marking answered questions as "Answered"*****
*** Please rate helpful posts ***

WLC 9800 - software version - 17.3.3.26
Access point 9130AXI- B - software version - 17.6.4. Please check the error below on AP 

pgilluwogmailcom_0-1664900663497.png

 

Arshad Safrulla
VIP Alumni
VIP Alumni

What's the exact model of your WLC? Is it 9800-CL, 9800-40, 9800-80 etc. or 9800 EWC? 

DId you try to downgrade the AP manually by connecting via console cable?

C9800-40-K9. Not sure why I would need to downgrade AP, they are compatible per Cisco's compatibility matrix. 

Arshad Safrulla
VIP Alumni
VIP Alumni

First 17.3.3 is no more recommended by Cisco TAC to run in a production network, consider upgrading to the code recommended in the below document.

Recommended Cisco IOS XE Releases for Catalyst 9800 Wireless LAN Controllers - Cisco

AP is compatible with the WLC, no doubt. But there were instances when AP was running 17.6.X codes it rejected to join the WLC. Thats why requesting you to check by downloading the image manually.

Also follow @Rich R 's recommendations to make sure that the WMI is configured correctly. Below link contains most of the best practices recommended by Cisco.

Cisco Catalyst 9800 Series Configuration Best Practices - Cisco

 

Sincere thanks I will try.

I upgraded to 17.6.4, after the upgrade Wireless LANs are gone, also 5 GHZ and 2.4GHZ network is down. Please refer to image below:

pgilluwogmailcom_2-1665516921366.png

In addition, I am not able to open any of the following parameters:

pgilluwogmailcom_3-1665516973803.png

Could you please assist with further troubleshooting. Thanks

 

Review Cisco Networking for a $25 gift card