
[CORE1]
display ip pool name 10
Pool-name : 10
Pool-No : 0
Lease : 0 Days 20 Hours 0 Minutes
Domain-name : -
DNS-server0 : 8.8.8.8
NBNS-server0 : -
Netbios-type : -
Position : Local Status : Unlocked
Gateway-0 : 192.168.10.3
Network : 192.168.10.0
Mask : 255.255.255.0
VPN instance : --
-----------------------------------------------------------------------------
Start End Total Used Idle(Expired) Conflict Disable
-----------------------------------------------------------------------------
192.168.10.1 192.168.10.254 253 1 125(0) 0 127
-----------------------------------------------------------------------------
Configure CORE2 as the standby DHCP server to allocate the second half of all
IP addresses in the address pool.
2
<CORE2>
system-view
[CORE2]
dhcp enable
[CORE2]
ip pool 10
[CORE2-ip-pool-10]
gateway-list 192.168.10.3
[CORE2-ip-pool-10]
network 192.168.10.0 mask 24
[CORE2-ip-pool-10]
excluded-ip-address 192.168.10.1 192.168.10.2
[CORE2-ip-pool-10]
excluded-ip-address 192.168.10.4 192.168.10.127
[CORE2-ip-pool-10]
lease day 0 hour 20 minute 0
[CORE2-ip-pool-10]
dns-list 8.8.8.8
[CORE2-ip-pool-10]
quit
Configure users in department A to obtain IP addresses from the global address pool.
3
[CORE1]
interface vlanif 10
[CORE1-Vlanif10]
dhcp select global
//Configure users in department A
to obtain IP addresses from the global address pool.
[CORE1-Vlanif10]
quit
[CORE2]
interface vlanif 10
[CORE2-Vlanif10]
dhcp select global
[CORE2-Vlanif10]
quit
The procedure of configuring dynamic IP address allocation in VLAN 20 is similar to
the preceding configuration procedure.
Run the
display ip pool
command to view the configuration and IP address
allocation in the global address pool
10
.
4
View the IP
address pool
configuration.
View IP address
allocation.
37