Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
An Error Occurs in Configuring a Static IP Address for an AP
Possible Cause
- The static IP address of the AP is not unique and conflicts with that of another device on the network.
- In Layer 2 networking, the static IP address of the AP is not in the same network segment as that of the AC.
- In Layer 3 networking, the egress gateway is not configured for the AP.
- The AP is not restarted to make the configured static IP address take effect.
Troubleshooting Procedure
A CAPWAP tunnel can be established between an AP and an AC only after the AP has obtained an IP address. If the AP fails to go online after being configured with a static IP address, perform the following steps:
- Log in to the AP, and run the display ap-address-info command to check the IP address of the AP.
<AP> display ap-address-info ============================================================== Active AP Address Info AP Mode : static //The AP goes online using a static IP address. Ip Address : 10.1.1.100 //Static IP address of the AP Ip Version : 4 Mask : 255.255.255.0 //Subnet mask of the AP's IP address Gateway : 10.1.1.1 //Gateway of the AP AC 0 ip : 10.1.2.111 //AC's IP address AC 1 ip : - AC 2 ip : - AC 3 ip : - -------------------------------------------------------------- ......
- Check whether the valid static IP address information is correct, including the unique IP address of the AP, gateway address, and AC's IP address.
- The IP address of an AP must be unique and cannot conflict with that of another device on the network.
- In Layer 2 networking, the static IP address configured on the AP must be in the same network segment as that of the AC.
- In Layer 3 networking, the egress gateway for the AP must be configured to ensure an available route between the AP's IP address and the AC source address.
- If the IP address is incorrectly configured, use either of the following methods to rectify the fault:
- Run the ap-address mode dhcp command in the system view to change the IP address obtaining mode to DHCP. Then restart the AP to make the configuration take effect.
[AP] ap-address mode dhcp Info: The configuration takes effect after the AP is restarted.
- Run the ap-address static ip-address ip-address subnet-mask command in the system view to change the static IP address of the AP. Then restart the AP to make the configuration take effect.
[AP] ap-address static ip-address 10.1.2.253 255.255.255.0 Info: The configuration takes effect after the AP is restarted.
- Run the ap-address mode dhcp command in the system view to change the IP address obtaining mode to DHCP. Then restart the AP to make the configuration take effect.