< Home

DHCP/4/DHCP_ALLOC_ADDRESS

Message

DHCP/4/DHCP_ALLOC_ADDRESS: Result of IP address allocation from the DHCP server to wireless users.[WLAN_STA_INFO_IP_CONNECTION]ACMAC:[STRING];ACNAME:[STRING];APMAC:[STRING];APNAME:[STRING];USER:[STRING];MAC:[STRING];TIME:[STRING];ZONE:[STRING];DAYLIGHT:[STRING];ERRCODE:[STRING];RESULT:[STRING]

Description

The log indicates the result of IP address allocation by a device functioning as a DHCP server to wireless users.

If a large number of such logs are displayed, other logs may be difficult to view. You can run the info-center filter-id bymodule-alias DHCP DHCP_ALLOC_ADDRESS command in the system view to shield such logs.

Parameters

Parameter Name Parameter Meaning

ACMAC

MAC address of an AC.

ACNAME

System name of an AC.

APMAC

MAC address of an AP.

APNAME

System name of an AP.

USER

Name of a wireless user.

MAC

MAC address of a wireless user.

TIME

Time when a log is recorded, in seconds. (The seconds are calculated starting from 00:00:00 on January 1, 1970.)

ZONE:UTC

Time zone.

DAYLIGHT

Whether the daylight saving time (DST) is used.

  • true: The DST is used.
  • false: The DST is not used.

ERRCODE

RESULT

Error code.

IP address allocation result.

Possible Causes

When an AC, Fat AP, or cloud AP functions as a DHCP server, the AP through which a wireless user goes online, SSID of the user, and other user information can be obtained and recorded in this log. The following table lists the mapping relationships between error codes (ERRCODE) and address allocation results (RESULT) in logs.

Table 1 Mapping between ERRCODE and RESULT

ERRCODE

RESULT

Description

Possible Causes

0

Success

An IP address is successfully allocated.

102

DHCP IP POOL IS OUTFLOW(Pool name:name, the idle address num:num)

There is no idle IP address in the address pool. Parameters in the brackets indicate the address pool name and number of idle IP addresses.

No IP address is available for allocation in the address pool. You can run the display ip pool command to check the number of idle IP addresses. Here, the command output indicates that the number of idle IP addresses is 0.

103

DHCP IP POOL LOCKED(Pool name:name)

The address pool is locked. The parameter in the brackets indicates the address pool name.

The address pool is locked using the lock command in the address pool view.

104

NOT FIND IP POOL (Receive from interface:if, interface ip:ip. Relay ip:ip. Expect ip:ip)

The address pool corresponding to the client-expected IP address is not found. Parameters in the brackets indicate the Layer 3 interface that receives the DHCP Request packet, IP address of the interface, IP address of the DHCP relay agent, and client-expected IP address.

  • Possible cause 1:

    When a client is associated with an SSID, the client applies for an IP address in two-message exchange mode. That is, the client sends a DHCP Request packet carrying the expected IP address in Option50. The expected IP address is the address that the client has used before.

    If the client-expected IP address is on a different network segment from the client gateway address or the address pool corresponding to the client-expected IP address cannot be found, the DHCP server will fail to allocate this IP address. In this case, the DHCP server generates this log and returns a DHCP NAK packet to notify the client to apply for an IP address in four-message exchange mode, that is, the client sends a DHCP Discover packet to request for a new address.

    The network segment is changed when the client switches to another service VLAN.

  • Possible cause 2:

    The DHCP server receives a DHCP Discover packet from the client. However, only the dhcp select global command is run on the server and no corresponding address pool is created. As a result, the DHCP server generates this log and does not return any packet.

    This case rarely occurs.

105

INCORRECT REQUEST IP OR MAC (Ip:ip MAC:mac)

The DHCP server cannot allocate the client-expected IP address. Parameters in the brackets indicate the client-expected IP address and client's MAC address.

  • Possible cause 1:

    The DHCP server receives a DHCP Discover packet from the client. In the packet, the client-expected IP address is carried in Option50. When the client-expected IP address is not on the network segment of the address pool, the DHCP server generates this log and allocates a new IP address to the client.

  • Possible cause 2:

    When a client is associated with an SSID, the client applies for an IP address in two-message exchange mode. That is, the client sends a DHCP Request packet carrying the expected IP address in Option50. The expected IP address is the address that the client has used before.

    If the client-expected IP address is within the address pool range but the address pool has no record about allocating any IP address to the client, the address pool does not respond to the request. The client waits till its request expires and begins to apply for a new IP address in four-message exchange mode.

    This log may be generated if the DHCP server restarts, IP address allocation records are manually cleared using the reset ip pool command, or a client exception occurs (for example, the client still uses an IP address after the address expires).

106

IP CONFLICTED(The conflict ip:ip)

An IP address conflict occurs. The parameter in the brackets indicates the conflicted IP address.

An IP address conflict is detected when the DHCP server allocates an IP address to a client. The address pool then sets the IP address status to conflicting and allocates a new IP address to the client.

If the client-expected IP address is displayed as 255.255.255.255, the client does not expect any specific IP address.

Procedure

  • If there is no idle IP address in the address pool, you are advised to expand the address pool or shorten the address lease time.
  • If no corresponding address pool is configured, configure the address pool.
  • If the address pool is locked, determine the reason why it is locked. If the client is a PC, the PC typically applies for a new IP address in four-message exchange mode.
  • If the PC cannot obtain an IP address or cannot continue to use the original IP address, run the ipconfig /release and ipconfig /renew commands on the PC to enable it to apply for an IP address again. If the client is a mobile phone, delete the SSID recorded on the mobile phone and associate the SSID to the client again.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >