dhcp-server giaddr ip-address(IP address pool view)

Function

The dhcp-server giaddr ip-address command configures the GiAddr address of packets sent by a DHCPv4 server group.

The undo dhcp-server giaddr ip-address command restores the default setting.

By default, the GiAddr address of packets sent by a DHCPv4 server group is a gateway address.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcp-server giaddr ip-address ip-addr

undo dhcp-server giaddr ip-address ip-addr

Parameters

Parameter Description Value
ip-address ip-addr

Specifies the IP address that is used as the GiAddr address of packets sent by the DHCPv4 server group.

The address is in dotted decimal notation.

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

In BRAS dual-device hot backup scenarios where a remote address pool is used for address allocation, if the DHCP server can only respond with a packet carrying the GiAddr address and not the source IP address, the double gateway solution must be used. To specify an IP address in the address pool to function as the GiAddr address, run the dhcp-server giaddr ip-address command. The IP address specified cannot be the same as the gateway address of the address pool.

The DHCP server cannot allocate the GiAddr address to any terminal.

Precautions

In VS mode, this command is supported only by the admin VS.

The GiAddr address specified by ip-addr cannot conflict with any user IP address.

Example

# Set the GiAdd address of the packets to be sent in the view of the remote rui-slave address pool named huawei to 10.1.1.2.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei bas remote rui-slave
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] gateway 10.1.1.1 24
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] dhcp-server giaddr ip-address 10.1.1.2
Info: This IP can not alloc to any client on the DHCP Server.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >