dhcp-server giaddr ip-address(DHCP group 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 [ vpn-instance vpn-instance-name ] [ forward-rui-slave ]

undo dhcp-server giaddr

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the VPN instance name.

The value is a string of 1 to 31 characters. The instance must be a configured VPN instance.

forward-rui-slave

Forward rui slave.

-

ip-address ip-addr

Specifies a GiAddr address for an IP address pool in BRAS dual-device hot backup scenario.

The value is in dotted decimal notation.

Views

DHCP group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

When 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

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

Example

# Set the IP address of 10.1.1.1 as the GiAddr address of the packet sent from the DHCPv4 server group named huawei in the DHCPv4 server group view.
<HUAWEI> system-view
[~HUAWEI] dhcp-server group huawei
[*HUAWEI-dhcp-server-group-huawei] commit
[~HUAWEI-dhcp-server-group-huawei] dhcp-server giaddr ip-address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >