586
C
33: DHCP S
HAPTER
n
C
ERVER
ONFIGURATION
The DHCP server and client are on the same subnet and perform direct
■
message delivery.
The DHCP server and client are not on the same subnet and communicate with
■
each other via a DHCP relay agent.
The DHCP server configuration for the two types is the same.
Network requirements
The DHCP server (Router A) assigns IP address to clients on the subnet
■
10.1.1.0/24, which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
The IP addresses of Ethernet1/1 and Ethernet1/2 on Router A are 10.1.1.1/25
■
and 10.1.1.129/25 respectively.
In the subnet 10.1.1.0/25, the address lease duration is ten days and twelve
■
hours, domain name suffix aabbcc.com, DNS server address 10.1.1.2, WINS
server address 10.1.1.4, and gateway address 10.1.1.126.
In the subnet 10.1.1.128/25, the address lease duration is five days, domain
■
name suffix 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.128/25 can inherit the configuration of the subnet 10.1.1.0/24.
In this example, the number of requesting clients connected to Ethernet1/1 should
be less than 122, and that of clients connected to Ethernet1/2 less than 124.
Network diagram
Figure 170 A DHCP network
Client
10.1.1.126 /25
Gateway A
10.1.1 .2/25
DNS server
Configuration procedure
Specify IP addresses for interfaces (omitted).
Configure the DHCP server
# Enable DHCP
<RouterA> system-view
[RouterA] dhcp enable
WINS server
10.1.1 .4/25
Eth1 /1
10.1.1.1/25
Router A
DHCP server
Eth1/1
Router B
Client
Client
Client
Eth1/2
10.1.1 .254 /25
10 .1.1.129/25
Client
Client
Gateway B
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?