cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1730
Views
1
Helpful
4
Replies

about CAPWAP data flow

jwu5188
Community Member

As I know,  a WLC receives a user packet from AP via CAPWAP, it will remove CAPWAP header, translate L2 header and forward it to a GW. Here are my questions and do appreciate any input from you. Thanks!

Q1. If a WLC uses trunk port to connect to L3 switch, how does it decide which GW to send?

Q2. If WLC doesn't change source IP in user packet, how does it make the return traffic pass by it?

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@jwu5188 wrote:
Q1. If a WLC uses trunk port to connect to L3 switch, how does it decide which GW to send?

That depends entirely on the design of the SSIDs.  

If the wireless network is one, big flat network, then it is a no-brainer.  The WLC will send all the data down a single VLAN. 

If the SSID is chopped into different SSID, then the WLC will send the data down each specified VLAN (tied to the SSID).  

In the case of Dot1x, it is exactly the same thing.  ISE will tell the WLC which VLAN to punt the data into.  

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

@jwu5188 wrote:
Q1. If a WLC uses trunk port to connect to L3 switch, how does it decide which GW to send?

That depends entirely on the design of the SSIDs.  

If the wireless network is one, big flat network, then it is a no-brainer.  The WLC will send all the data down a single VLAN. 

If the SSID is chopped into different SSID, then the WLC will send the data down each specified VLAN (tied to the SSID).  

In the case of Dot1x, it is exactly the same thing.  ISE will tell the WLC which VLAN to punt the data into.  

Dear Laohoo,

Thanks for your prompt response. Do you have any idea about my Q2?


@jwu5188 wrote:
Q2. If WLC doesn't change source IP in user packet, how does it make the return traffic pass by it?

If the WLC does not change the source IP address, then you've got a problem.  Potentially, a bug.

It does not change the client source IP and return traffic is routed back to the client just the same as any client traffic replies.  The reverse process takes place - packet is translated from ethernet to 802.11 and sent back down the CAPWAP tunnel to the AP and the wireless client.  ARP and the WLC internal client database maps the IP to the client MAC address.

------------------------------
Please click Helpful if this post helped you and Accept 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
Field Notice: FN74383 APs Running 17.12.4/5/6/6a May Run Out of Flash Space Preventing Upgrades
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
Review Cisco Networking for a $25 gift card