DHCPH3C Low-End Ethernet Switches Configuration Examples Chapter 2 Configuration Examples2-4# Enable the detection of unauthorized DHCP servers.[H3C] dhcp server detect# Configure VLAN-interface100 to operate in the global address pool mode.[H3C] interface Vlan-interface 100[H3C-Vlan-interface100] dhcp select globalNote that:After DHCP configuration is complete, IP addresses can be assigned to theworkstations in the Branch only when a route is active between the HQ and the Branch.III. Configuring the DHCP relay agentThis section mainly describes the DHCP server configuration. The following shows thebasic DHCP relay agent configuration that ensures the DHCP relay agent to relayDHCP requests to the DHCP server. For details about DHCP relay agent configuration,see section 2.2 "DHCP Relay Agent/Snooping Configuration Examples". system-view[H3C] dhcp-server 1 ip 10.214.10.1[H3C] interface Vlan-interface 5[H3C-Vlan-interface5] dhcp-server 12.2 DHCP Relay Agent/Snooping Configuration Examples2.2.1 Network RequirementsA Cisco Catalyst 3745 switch is deployed in the HQ and serves as the DHCP server toassign IP addresses to the workstations in the Office branch. The branches areconnected to an IRF (intelligent resilient framework) Fabric that serves as the centralnode and the DHCP relay agent to forward the DHCP requests from the workstations.Meanwhile, a lab DHCP server is used to assign IP addresses to the devices in the labs.The network requirements are as follows:z Configure the DHCP server in the HQ to assign the IP addresses in the192.168.10.0/24 network segment to the workstations in the Office branch, with alease period of 12 hours. Configure the IP addresses of the DNS server and WINSserver as 192.169.100.2 and 192.168.100.3 respectively.z The IRF Fabric is connected to the branches and is comprised of four switches. Itserves as the DHCP relay agent to forward the DHCP requests from theworkstations in the Office and the devices in the labs. It is enabled to detectunauthorized DHCP servers.z An Ethernet switch in Lab1 serves as the Lab DHCP server to assign the IPaddresses in the 192.168.17.0/24 network segment to the devices in Lab1, with alease period of one day, and to assign the IP addresses in the 192.168.19.0/24network segment to Lab2, with a lease period of two days. The lab DHCP server