beautypg.com

Network requirements, Configuring the dhcp server (router a) – H3C Technologies H3C MSR 50 User Manual

Page 245

background image

224

DHCP configuration example without DHCP relay agent

Network requirements

The DHCP server (Router A) assigns IP addresses to clients on 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 Ethernet 0/1 and Ethernet 0/2 on Router A are 10.1.1.1/25 and 10.1.1.129/25
respectively.
In subnet 10.1.1.0/25, the lease is ten days and twelve hours, the domain name suffix is aabbcc.com, the

DNS server address is 10.1.1.2/25, and the gateway address is 10.1.1.126/25.
In subnet 10.1.1.128/25, the lease is five days, the domain name suffix is aabbcc.com, the DNS server
address is 10.1.1.2/25, and the gateway address is 10.1.1.254/25.
Subnets 10.1.1.0/25 and 10.1.1.128/25 have the same domain name suffix and DNS server address.

Therefore, the domain name suffix and DNS server address must be configured only for subnet

10.1.1.0/24. Subnet 10.1.1.0/25 and 10.1.1.128/25 can inherit the configuration of subnet 10.1.1.0/24.
Router B (DHCP client) obtains a static IP address, DNS server address, and gateway address from
Router A (DHCP server).

Figure 230 DHCP network without a DHCP relay agent

Configuring the DHCP server (Router A)

1.

Specify IP addresses for interfaces (details not shown).

2.

Enable DHCP:

a.

Select Advanced > DHCP Setup from the navigation tree to enter the default DHCP Enable
page.

b.

Select the Enable option in the DHCP field.

c.

Click Apply.

This manual is related to the following products: