WX2860X local Portal authentication fails: source IP is rewritten by the SDWAN gateway, causing reverse lookup to fail

2026-10-19 15:55:33 Published
  • 0 Followed
  • 0Collected ,1Browsed

Network Topology

WX2860X standalone, Release 5822P12;

Wireless centralized forwarding + AC built-in local Portal authentication (guest authentication)

Problem Description

Use AC's built-in local Portal authentication (centralized forwarding) for guest authentication. The terminal can redirect normally and open the Portal page, but after entering the account and password, it always prompts "System busy, please try again later."

The STA belongs to VLAN 7, with an IP range of 192.168.188.0/24 and a gateway of 192.168.188.253 (an SDWAN device).

AC-side interface addresses: Vlan-interface7 = 192.168.188.254 (same subnet as the terminals)

Vlan-interface4094 = 10.40.94.1 (used as the Portal authentication page address, with a mask of 255.255.252.0)
Key Configuration:

#
interface Vlan-interface4094 
ip address 10.40.94.1 255.255.252.0 
 wlan service-template test 
 ssid test 
 vlan 7 
 portal enable method direct 
 portal domain portal 
 portal apply web-server 
 portaltest service-template enable 
 portal web-server portaltest url http://10.40.94.1/portal
 portal local-web-server http 
 default-logon-page defaultfile.zip 
 portal local-web-server https 
 default-logon-page defaultfile.zip
#

Process Analysis

1. Enable debug portal all to capture authentication interactions. Key logs are as follows:

%Aug 6 10:29:20:532 2026 AC PORTAL/6/PORTAL_USER_REDIRECT: -UserIP=192.168.188.203-UserMAC=68-xx-xx-xx-1F-C2-SSID=test-PortalIP=10.40.94.1; Send redirection. ... 
*Aug 6 10:29:21:200 2026 AC PORTAL/7/EVENT: Received a new user request connection 
*Aug 6 10:29:21:201 2026 AC PORTAL/7/EVENT: Received HTTP GET method packet. 
*Aug 6 10:29:21:201 2026 AC PORTAL/7/EVENT: Request for /portal/. 
*Aug 6 10:29:21:201 2026 AC PORTAL/7/ERROR: Failed to get wlan snooping.Userip:192.168.188.253 *Aug 6 10:29:21:201 2026 AC PORTAL/7/ERROR: Failed to get dhcp snooping.Userip:192.168.188.253 
*Aug 6 10:29:21:201 2026 AC PORTAL/7/ERROR: Failed to get ifindex from IPCIM.user IP=192.168.188.253 
*Aug 6 10:29:21:201 2026 AC PORTAL/7/ERROR: Failed to get ssid by user mac, user MAC:94-xx-xx-xx-E4-50.

2. Core suspicion: The terminal initiating Portal authentication was originally 192.168.188.203 / 68-xx-xx-xx-1F-C2 accessing 10.40.94.1; however, in the packets that actually initiated the authentication interaction, the source IP changed to 192.168.188.253. No corresponding terminal information for 192.168.188.253 can be found in any WLAN-related channel (wlan snooping / dhcp snooping / ifindex / ssid) on the AC. 3. When executing display portal auth-error-record all, all newly added authentication failure records come from 192.168.188.253. 

4. Based on the basic environment: 192.168.188.253 is exactly the gateway for wireless terminals (an SDWAN device). Since the terminal's access to 10.40.94.1 involves Layer 3 packets, it must be forwarded through this SDWAN gateway; it is suspected that this device performs a NAT-like source IP rewrite when forwarding authentication traffic, changing the source IP to the gateway's own address.

Solution

1. Root cause: When AC performs Portal authentication, it looks up the terminal's basic information (wlan snooping / dhcp snooping / ifindex / ssid, etc.) based on the source IP of the authentication packet. Only when a real WLAN terminal is found can subsequent authentication proceed; if not found, it is determined to be a spoofing/attack risk and authentication is directly terminated, with the page showing "System busy, please try again later." 

  • In this case, because the authentication traffic was rewritten by the SDWAN gateway to source IP 192.168.188.253 (the gateway itself), the AC's reverse lookup of this IP naturally fails, so all authentication attempts are blocked. 

2. Solution: Change the AC's Portal authentication address to 192.168.188.254 (i.e., AC's Vlan-interface7, on the same subnet as the terminals). 

  • This way, the terminal's authentication traffic does not need to pass through the SDWAN gateway first but directly accesses the AC authentication page, keeping the source IP as the real terminal 192.168.188.203. The AC's reverse lookup succeeds, and authentication comes online normally. 
  • Key configuration change: Under portal web-server portaltest, change the url from http://10.40.94.1/portal to http://192.168.188.254/portal (and correspondingly ensure that Vlan-interface7 has local web services enabled and reachable).
Please rate this case:   
0 Comments

No Comments

Add Comments:

✖