DHCP RelayThe proxy can remove the need for a DHCP server in each physical network segment. It can transmit messages to DHCP servers not in the same physical subnet, you can also send messages from the server to DHCP clients not in the same physical subnet.
Requirement Analysis
Configure DHCP Relay on the vswitch so that the following users can dynamically obtain the IP address of the corresponding CIDR block.
DHCP Relay configuration steps
1. Global Enabling DHCP
[H3C] dhcp enable
2. Specify the IP address of the DHCP Server used by DHCP Server group 1
[H3C] dhcp-server 1 ip address 192.168.0.1
3. Configure the interface address from DHCP Relay to DHCP Server
- [H3C]vlan 2
-
- [H3C-vlan2]port e1/0/2
-
- [H3C]int vlan 2
-
- [H3C-Vlan-interface2]ip address 192.168.0.2 255.255.255.0
4. Configure the DHCP Relay interface address to the PC
- [H3C]vlan 3
-
- [H3C-vlan3]port e1/0/3
-
- [H3C]int vlan 3
-
- [H3C-Vlan-interface3]ip address 192.168.1.1 255.255.255.0
5. The specified VLAN Interface belongs to DHCP Server group 1.
[H3C-Vlan-interface3] dhcp-server 1
DHCP Relay configuration key points
1. Route accessibility must be ensured;
2. Ensure that the dynamically obtained IP addresses are in the address pool;
3. The specific models of these series switches include: Quidway S3500, Quidway S3900, Quidway S5600, H3C S3600, and H3C S5600.