DHCP relay agent configuration example

Network requirements

As shown in a, VLAN-interface 1 on the DHCP relay agent (Switch A) connects to the network where DHCP clients reside. The IP address of VLAN-interface 1 is 10.10.1.1/24 and the IP address of VLAN-interface 2 is 10.1.1.1/24. VLAN-interface 2 is connected to the DHCP server whose IP address is 10.1.1.1/24.

The switch forwards messages between DHCP clients and the DHCP server.

a.Network diagram for DHCP relay agent configuration

DHCP client DHCP client

Vlan-int1 Vlan-int2

10.10.1.1/24 10.1.1.2/24

Switch A

DHCP server

DHCP relay agent

 

DHCP client

DHCP client

Configuration procedure

Table 83 Specify IP addresses for interfaces (omitted) Table 84 Configure the DHCP relay agent

# Enable DHCP.

Select Network DHCP from the navigation tree to enter the default DHCP Relay page. Perform the following operations, as shown in b.

285