Configuring DHCP Service
Configuration Examples
User Guide
427
Figure 4-15
Network Topology for DHCP L2 Relay
Gi1/0/2
Gi1/0/1
Group 1
Group 2
DHCP Server
192.168.10.1/24
Switch A
DHCP Relay
00:00:FF:FF:27:12
192.168.10.100-192.168.10.150
192.168.10.151-192.168.10.200
PC
PC
PC
PC
4.3.2 Configuration Scheme
To meet the requirements, you can configure DHCP L2 Relay on Switch A to inform the
DHCP server of the group information of each PC, so that the DHCP server can assign IP
addresses of different address pools to the PCs in different groups.
The overview of the configurations are as follows:
1) Configuring Switch A
a. Enable DHCP L2 Relay globally and on VLAN 1.
b.
Configure Option 82 on ports 1/0/1 and 1/0/2.
Demonstrated with T2600G-28TS,
“4.3.3 Configuring the DHCP Relay Switch”
provides
configuration procedures in two ways: using the GUI and using the CLI.
2) Configuring the DHCP Server
The detailed configurations on the DHCP server may be different among different
devices. You can refer to the related document that is for the DHCP server you use.
Demonstrated with a Linux ISC DHCP Server,
“4.3.4 Configuring the DHCP Server”
provides information about how to set its DHCP configuration file.
Downloaded from