DHCP relay agent configuration example

Network requirements

As shown in Figure 279, 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 DHCP messages between DHCP clients and the DHCP server.

Figure 279 Network diagram

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

Configuring Switch A

1.Enable DHCP:

a.From the navigation tree, select Network > DHCP to enter the default DHCP Relay page.

b.Select the Enable option next to DHCP Service, as shown in Figure 280.

c.Click Apply.

303