3Com Switch 8800 Advanced Software V5 Configuration Guide

DHCP Server Configuration Example 733
In the address pool 10.1.1.0/25, the address lease duration is ten days and
twelve hours, domain name aabbcc.com, DNS server address 10.1.1.2,
gateway 10.1.1.126, and WINS server 10.1.1.4.
In the address pool 10.1.1.128/25, the address lease duration is five days,
domain name aabbcc.com, DNS server address 10.1.1.2, and gateway address
10.1.1.254, and there is no WINS server address.
The domain name and DNS server address on the subnets 10.1.1.0/25 and
10.1.1.128/25 are the same. Therefore, a domain name and DNS server
address can be configured only for the subnet 10.1.1.0/24, and the subnet
10.1.1.0/25 and 10.1.1.128/25 can inherit the configuration of the subnet
10.1.1.0/24.
n
In this example, the number of requesting clients connected to Vlan-interface1
should not exceed 122, and that of clients connected to Vlan-interface2 should
not exceed 124.
Network diagram
Figure 215 A DHCP network
Configuration procedure
1 Specify VLAN interfaces and IP addresses for VLAN interfaces (omitted).
2 Configure the DHCP server
# Enable DHCP
<Sysname> system-view
[Sysname] dhcp enable
# Exclude IP addresses (addresses of the DNS server, WINS server and gateways).
[Sysname] dhcp server forbidden-ip 10.1.1.2
[Sysname] dhcp server forbidden-ip 10.1.1.4
[Sysname] dhcp server forbidden-ip 10.1.1.126
[Sysname] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0 (address range, client domain name, and DNS
server address).
WINS server
10.1.1.4/25
Client
Switch B
Client
DNS server
10.1.1.2/25
Switch A
DHCP server
Vlan-int2
10.1.1.129/25
Vlan-int1
10. 1.1 .1/ 25
Client Client
Client Client
Vlan-int1
10.1.1.126/25
10. 1.1. 254 /25