- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2022 08:46 AM
Greeting Experts,
We have installed two Virtual 9800 in our DC and set them up according to the documentation. The idea is to replace some old AireOS WLCs.
Here is the interesting part:
The old solution uses DHCP Proxy to provide IP addresses for devices in two specific networks.
I am not able to replicate this behavior on the new WLC running 17.3.4, although we tried to use the DHCP Relay function on them.
I got some captures and I was able to see that the DHCPDiscover is going out from the WLC, but with the wrong VLAN.
Let's say a device connects to SSID using VLAN 200 and I have the IP Helper added to the SVI Of the VLAN on the WLC.
On the capture, I see that I have a DHCP Discover with source IPaddr of the SVI and Destination the DHCP Server - all good so far. However the packet comes from VLAN 100 - which is the MGMT-vlan...
How do I fix that? Are there any options to force the DHCP packet through the correct VLAN?
I've seen a bug related to this issue and they say that it is related to a configuration on the FW or the RPF Check, but we don't have the option to disable this at the moment, nor to configure ip-helper on the switches.
Any ideas?
Solved! Go to Solution.
- Labels:
-
Wireless LAN Controller
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 07:22 AM
So...
1. This is the way the 9800 works, by design, as @Rasika Nayanajith has explained already.
2. So you either work with it that way or don't. This is how it was designed to work. It was never designed to work like AireOS used to. This is just one of the many changes in 9800.
3. The way AireOS worked was not strictly RFC compliant to start with as explained in the AireOS docs (it actually worked as a proxy not a relay) so no surprise that they've reverted to standard in IOS-XE using existing IOS-XE standard dhcp relay feature/functionality.
4. It's not recommended to use SVI with DHCP relay, but it does work - we're using it. It's just that it works the same way as DHCP relay on any other Cisco router does now, which means that the relayed DHCP packet is routed according to IP destination on the 9800 just like any other packet would be. So if you want to work that way you need to redesign accordingly. You also need to consider (and mitigate) the security implications of hosting those SVIs on the 9800 where traffic can now be routed between the SVIs.
Please click Helpful if this post helped you and Select as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's and TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's, Best Practices for 9800 WLC's and Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2022 10:20 AM
- Whilst this is not a direct reply review the current 9800-CL configuration with the CLI command : show tech wireless , have the output analyzed by https://cway.cisco.com/
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 12:39 AM
Hi, M.
Thanks for your reply.
The analyzer is a great tool, however there is nothing with the DHCP that the analyzer had found.
That would mean that my configuration is not entirely wrong!
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2022 11:01 AM
This is the main reason why Cisco is not recommended to have any SVI on your 9800 other than management SVI. In that way when you migrate AireOS to 9800, you should not define those dynamic interfaces on 9800. Refer the 9800 config best practice document given below
In your case, you have to define DHCP relay function on your upstream device (L3 switch or firewall) & 9800 act as a L2 (just defined L2 vlan without SVI)
HTH
Rasika
*** Pls rate all useful responses ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 12:45 AM
Hi Rasika,
Thanks for the reply.
I've seen this recommendation, but I was just wondering if there is a way to do it as a relay, exactly how it was designed to work. Because there is this feature, but this feature is not usable in my situation.
Maybe there is a way to force the WLC to use the proper VLAN for the packets.
Currently will be super hard to create helpers or relay on the upstream devices and I am searching for different solution if there is any.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 07:22 AM
So...
1. This is the way the 9800 works, by design, as @Rasika Nayanajith has explained already.
2. So you either work with it that way or don't. This is how it was designed to work. It was never designed to work like AireOS used to. This is just one of the many changes in 9800.
3. The way AireOS worked was not strictly RFC compliant to start with as explained in the AireOS docs (it actually worked as a proxy not a relay) so no surprise that they've reverted to standard in IOS-XE using existing IOS-XE standard dhcp relay feature/functionality.
4. It's not recommended to use SVI with DHCP relay, but it does work - we're using it. It's just that it works the same way as DHCP relay on any other Cisco router does now, which means that the relayed DHCP packet is routed according to IP destination on the 9800 just like any other packet would be. So if you want to work that way you need to redesign accordingly. You also need to consider (and mitigate) the security implications of hosting those SVIs on the 9800 where traffic can now be routed between the SVIs.
Please click Helpful if this post helped you and Select as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's and TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's, Best Practices for 9800 WLC's and Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 10:44 AM
Hello,
I see, so it will forward the packet using the routing table on the WLC.
Well what's the point in having the option to have an IP helper specified on an interface when it will always use the mgmt vlan since the default route will be for the management? I can't understand the logic behind it. Maybe configure static routes for each SVI?!
My main point is that I was not expecting this behavior and I still am not sure that the source IP address and VLAN on the same packet can be different networks at the same time and that could be made to work without redesigning all upstream devices.
Either way, thank you for the explanation.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 10:20 AM
You can try "ip dhcp relay source-interface vlan x" under your user SVI where X is your 9800 management VLAN (described in that best practice document). That may fix your issue (test with PCAP)
Though it is not the recommended design by Cisco, It may be a workaround.
HTH
Rasika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 10:47 AM
Hello,
When I don't use this option, the packet will be forwarder from mgmt SVI with source the IP address and the VLAN of the Mgmt SVI. If I use it, only the source IP address is changed, but still uses VLAN of the management SVI. This is what is broken in my opinion, but i another reply I think I understood what causes it.
Cheers!
