cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1242
Views
11
Helpful
20
Replies

Problems with external DHCP on a 9800-CL deployment

Hello:

We have several 9124AXi and 9105AXi APs under a 9800-CL virtual controller. We have created a WiFi network, and the clients are able to join it but they aren't able to get IP from the DHCP server on the network. Wireless clients with fixed IP works fine. Also all wired DHCP clients are working well for years, so it's not a DHCP server problem. We want to use the network central DHCP server, not the 9800's one. Network has no VLANs nor subnets.

Thanks in advance.

20 Replies 20

@MHM Cisco World why do you keep telling users (twice in this case!) that you will send them PMs when Cisco Community is about sharing info and solutions - not keeping them secret?

MHM

No, I do not understand, it makes no sense at all.
I've never suggested you were an AI or anything other than human so don't where that idea comes from!

Unless you're implying that you would share the correct answer after your DM discussion? (but you have not said that)

I send you PM 

MHM

Rich R
VIP
VIP

@Miguel Angel Alvarez Rodriguez since you're using this completely flat network with all devices on the same VLAN and subnet you may essentially be running an unsupported config for central switching.
First - check you have followed the 9800-CL setup guide correctly - there are a number of Hypervisor settings required for it to work correctly. (you didn't mention what Hypervisor you're using).  Follow the step by step making sure you have not missed any of them:
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/technical-reference/c9800-cl-dg.html
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/9800-cloud/installation/b-c9800-cl-install-guide.html
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/technical-reference/c9800-best-practices.html#C9800CLconsiderations

Second: Make sure your software is up to date - refer to the TAC recommended versions link below.

To clarify: Flexconnect is the AP mode - otherwise it can be in Local mode. 
In Local mode all client traffic is tunnelled to the WLC via CAPWAP and breaks out from the WLC - that is Central switching.
When the AP is in Flexconnect mode then the WLAN can be configured for Central or Local switching.  With Local switching instead of tunnelling traffic to the WLC over CAPWAP the APs break the client traffic out on the local AP ethernet port. Check out:
https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/213945-understand-flexconnect-on-9800-wireless.html

The config you're running is essentially very similar to running EWC on AP with no VLANs where everything sits on the same VLAN and subnet.  For a proper WLC config you would normally have WLC and AP management on a completely separate subnet and VLAN from the clients.  The WLC would not have any layer 3 (IP) interface for the client subnet - just the layer 2 VLAN and all layer 3 functions (like DHCP) handled outside of the WLC.  In EWC on AP the AP operates in Flexconnect local switching so the client traffic exits directly from the AP switch port not via the controller.  If you've checked all the previous points and still can't get it to work then I highly recommend changing the APs to Flexconnect mode with local switching and local DHCP to see whether that resolves your issue.

 

Thank you. I'm going to make some more tests and collect some more logs just to know what's going on, but I will try flexconnect mode since, as you described it, this behaviour is exactly the one I want. I'll tell you how it goes.

Review Cisco Networking for a $25 gift card