User Guide
420
Configuring DHCP Service
Configuration Examples
Verify the Configurations of the DHCP Relay Agent
Switch#show ip dhcp relay
Switch#show ip dhcp relay
DHCP relay state: enabled
...
DHCP relay default relay agent interface:
Interface: VLAN 1
IP address: 192.168.0.1
DHCP vlan relay helper address is configured on the following vlan:
vlan Helper address
--------------------- -------------------------
VLAN 10 192.168.0.59
VLAN 20 192.168.0.59
4.2
Example for Option 82 in DHCP Relay
4.2.1 Network Requirements
As the following figure shows, there are two groups of computers. Group 1 is connected
to Switch A via port 1/0/1, and Group 2 is connected via port 1/0/2. All computers are
in the same VLAN, but the computers and the DHCP server are in different VLANs. For
management convenience, the administrator wants to allocate separate address spaces
for the two groups of computers.
Downloaded from