< Home

network-extension dhcp

Function

The network-extension dhcp command configures the FW to assign an IP address to the client in Domain Host Configuration Protocol (DHCP) mode during the network extension.

Format

network-extension dhcp ip-address [ virtual-ip { clear-all | reserve-all } ]

Parameters

Parameter Description Value

ip-address

Specifies the IP address of the DHCP server.

The value is in dotted decimal notation.

virtual-ip clear-all

Clears virtual IP addresses assigned for all users.

-

virtual-ip reserve-all

Reserves virtual IP addresses assigned for all users.

-

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

By default, the processing mode of reserving virtual IP addresses assigned for all users is adopted in DHCP mode. The clear-all command is used to clear virtual IP addresses assigned for all users and adopting the IP address of the DHCP server. The reserve-all command is used to reserve virtual IP addresses assigned for all users and adopting the IP address of the DHCP server.

The two methods, including clear-all and reserve-all, to handle the user virtual IP address only take effect to the user who bound the virtual IP address.

  • When you configure the IP address pool that can be assigned by the DHCP server, the IP addresses cannot be the IP addresses of virtual gateways or interfaces. Otherwise, the client may be unable to obtain virtual IP addresses, resulting in the unavailability of network extension services.
  • In the multi-virtual gateway networking, when you configure the IP address pool that can be assigned by the DHCP server, the IP addresses in the IP address pool cannot be the IP addresses in the network extension client IP address pool.

Example

# Configure the FW to assign an IP address for the client in DHCP mode during the network extension. Set the IP address of the DHCP server to 10.10.10.11, and delete information about virtual IP addresses assigned for all users in the virtual gateway abc.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] service
[sysname-abc-service] network-extension dhcp 10.10.10.11 virtual-ip clear-all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >