Got it

Why AP cannot obtain IP through DHCP?

Created: Jun 30, 2020 13:42:39Latest reply: Jul 5, 2020 21:53:44 739 12 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all, plz give me advice or a troubleshooting guideline, why my AP cannot obtain IP address from the AC on which exists DHCP pool...


There is an AP that cannot get an IP:

GigabitEthernet0/0/4 has 1 neighbor(s):


Neighbor index :1

Chassis type   :MAC address

Chassis ID     :9c71-3aa7-97e0

Port ID type   :Interface name

Port ID        :GigabitEthernet0/0/0

Port description    :HUAWEI, AP Series, GigabitEthernet0/0/0 Interface

System name         :Huawei

System description  :Huawei AP4050DN Huawei Versatile Routing Platform Software  VRP (R) software,Version 5.170 (AP4050DN V200R009C00SPC800) Copyright (C) 2011-2019 Huawei Technologies Co., Ltd



System capabilities supported   :wlanAccessPoint

System capabilities enabled     :wlanAccessPoint

Management address type  :ipv4

Management address value :169.254.1.1

OID  :0.6.15.43.6.1.4.1.2011.5.25.41.1.2.1.1.1.

Expired time   :112s


Port VLAN ID(PVID)  :1

VLAN name of VLAN  1:VLAN1


Auto-negotiation supported    :Yes

Auto-negotiation enabled      :Yes

OperMau   :speed(1000)/duplex(Full)


Power port class            :PD

PSE power supported         :No

PSE power enabled           :No

PSE pairs control ability   :No

Power pairs                 :Signal

Port power classification   :Class3

Power type                  :Type 1 PD

Power source                :PSE

Power priority              :Low

PD requested power value    :15.4(w)

PSE allocated power value   :15.4(w)


Link aggregation supported:Yes

Link aggregation enabled :No

Aggregation port ID      :0


Maximum frame Size       :1800



And Here is another one that works fine:

GigabitEthernet0/0/2 has 1 neighbor(s):


Neighbor index :1

Chassis type   :MAC address

Chassis ID     :9c71-3aa7-63a0

Port ID type   :Interface name

Port ID        :GigabitEthernet0/0/0

Port description    :HUAWEI, AP Series, GigabitEthernet0/0/0 Interface

System name         :AP6

System description  :Huawei AP AP4050DN

Huawei Versatile Routing Platform Software

VRP (R) software,Version 5.170 (AP4050DN V200R010C00SPCf00)

Copyright (C) 2011-2016 Huawei Technologies Co., Ltd


System capabilities supported   :wlanAccessPoint

System capabilities enabled     :wlanAccessPoint

Management address type  :ipv4

Management address value :10.200.2.237

OID  :

Expired time   :92s


Power port class            :PD

PSE power supported         :No

PSE power enabled           :No

PSE pairs control ability   :No

Power pairs                 :Signal

Port power classification   :Class3

Power type                  :Type 1 PD

Power source                :PSE

Power priority              :Low

PD requested power value    :15.4(w)

PSE allocated power value   :15.4(w)


They both work on the same switch, port configurations are indentical:



interface GigabitEthernet0/0/4

 description -- AP

 port link-type trunk

 port trunk pvid vlan 202

 port trunk allow-pass vlan 202

 port-isolate enable group 1

#

  

Here is a config from AC DHCP:

Huawei Versatile Routing Platform Software

VRP (R) software, Version 5.170 (AC6508 V200R010C00SPC700)

Copyright (C) 2011-2019 HUAWEI TECH CO., LTD

Huawei AC6508 Router uptime is 1 week, 0 day, 1 hour, 32 minutes


MPU 0(Master) : uptime is 1 week, 0 day, 1 hour, 32 minutes

SDRAM Memory Size    : 1024    M bytes

Flash Memory Size    : 1024    M bytes

MPU version information : 

1. PCB      Version  : H852V26S VER.E

2. MAB      Version  : 0

3. Board    Type     : AC6508

4. CPLD0    Version  : 262

5. BootROM  Version  : 1217


interface Vlanif202

 description MGMT

 ip address 10.200.2.253 255.255.255.0

 dhcp select interface

 dhcp server gateway-list 10.200.2.254 

 dhcp server excluded-ip-address 10.200.2.1 10.200.2.18 

 dhcp server excluded-ip-address 10.200.2.251 10.200.2.253 

 management-interface


Featured Answers
jason_hu
Admin Created Jun 30, 2020 14:09:14

Hello,

Perform the following steps to locate the fault:

  1. 1.Check whether the AP is configured to obtain an IP address using DHCP.

  2. 2.Check whether the Layer 2 link between the AP and DHCP server is working properly.

  3. 3.Run the display ip pool name ip-pool-name used command on the DHCP server to check whether the AP has obtained an IP address.



View more
  • x
  • convention:

helpmeplz
helpmeplz Created Jun 30, 2020 14:43:00 (0) (0)
> 1.Check whether the AP is configured to obtain an IP address using DHCP.
What a default mgmt ip address of the AP?  
All Answers
Hello,
It's nice to meet you in the community.
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Hi friend!

Ensure that the DHCP configuration is correct, and reduce the IP address lease. If a long IP address lease is set, after all addresses in the address pool are allocated, addresses that are not required cannot be released immediately. As a result, other DHCP clients cannot obtain IP addresses.

Thanks!
View more
  • x
  • convention:

helpmeplz
helpmeplz Created Jun 30, 2020 14:00:30 (0) (0)
Thank you
New devices like notebook get an IP. There is enough free addresses in a pool  
helpmeplz
helpmeplz Reply helpmeplz  Created Jun 30, 2020 14:04:15 (0) (0)
free = available  
Unicef
Unicef Reply helpmeplz  Created Jun 30, 2020 14:10:54 (0) (0)
IC  

Hello,

Perform the following steps to locate the fault:

  1. 1.Check whether the AP is configured to obtain an IP address using DHCP.

  2. 2.Check whether the Layer 2 link between the AP and DHCP server is working properly.

  3. 3.Run the display ip pool name ip-pool-name used command on the DHCP server to check whether the AP has obtained an IP address.



View more
  • x
  • convention:

helpmeplz
helpmeplz Created Jun 30, 2020 14:43:00 (0) (0)
> 1.Check whether the AP is configured to obtain an IP address using DHCP.
What a default mgmt ip address of the AP?  
Here is another point that I missed
I don't see a MAC address in the mac address table on the port where AP is connected
View more
  • x
  • convention:

[ACC_SW-LAN-01]display mac-address dynamic GigabitEthernet 0/0/2
-------------------------------------------------------------------------------
MAC Address VLAN/VSI/BD Learned-From Type
-------------------------------------------------------------------------------
9c71-3aa7-63a0 202/-/- GE0/0/2 dynamic

-------------------------------------------------------------------------------
Total items displayed = 1

[ACC_SW-LAN-01]display mac-address dynamic GigabitEthernet 0/0/4
-------------------------------------------------------------------------------
MAC Address VLAN/VSI/BD Learned-From Type
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Total items displayed = 0

View more
  • x
  • convention:

jason_hu
jason_hu Created Jun 30, 2020 14:55:15 (0) (0)
Check if the AP and the switch can communicate。  

Hi,
Please refer to the following link for troubleshooting.
https://info.support.huawei.com/network/ptmngsys/Web/tsrev_wlan/en/content/wlan/11_edesk_ap_online_fail/edesk_ap_online_fail_edesk000.html
Since one AP has obtained the  IP address correctly, I guess maybe you have configured a wrong mac address for the other AP.

View more
  • x
  • convention:

Thank you all for your advice and help. The issue was in that these problem APs have a non-default configuration with static IP, I think. After a hardware reset, AP get an address.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.