In some DHCP server configurations, we need to understand the network structure and some parameters of the corresponding routers and switches. Next we will summarize this part of content.
8016DHCP Configuration]
1. Functional requirements and networking description
"Configure Environment Parameters 』
1. DHCP server IP address 192.168.0.10/24
2. the DHCP server is connected to the G1/0/0 vswitch and belongs to vlan100. The Gateway is the vlan100 Virtual Interface address 192.168.0.1/24.
3. The switch connects SwitchAG1/1 through G1/0/1, and the G1/0/2 connects SwitchBG1/1
4. SwitchA connects SwitchC G1/1 through G2/1
5. the user network segment of vlan10 is 10.10.1.1/24.
6. the user network segment of vlan20 is 10.10.2.1/24.
7. The user network segment of vlan30 is 10.10.3.1/24.
8. SwitchA and SwitchC are L2 switches, and SwitchB are L3 switches.
"Networking requirements 』
1.8016 for DHCP relay, use the remote DHCP server to assign IP addresses to vlan10 under SwitchA
2. vlan20 users on SwitchB use vlan20 Virtual Interface on 8016 as the gateway, and 8016 as the DHCP server to directly assign IP addresses to them
3. The vlan30 user on SwitchC uses the vlan30 Virtual Interface on SwitchB as the gateway, and 8016 as the DHCP server to assign an IP address to the user
2 Data configuration steps
"8016 DHCP relay data process 』
DHCP Relay is used to adapt to situations where the client and server are not in the same network segment. Through Relay, users of different subnets can apply for an IP address from the same DHCP server, this facilitates the management and maintenance of the address pool.