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.
| 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. |
- |
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.
# 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