The DHCP relay experiment
needs a virtual machine, set the network of the virtual machine to VMnet 1, and set the network card of server c3 to VMnet1
1. Create vlan 10, 20, 100 in the sw2 switch. Set f1/1, f1/2, f1 /3 Three ports are added to vlan10 vlan20 vlan30, and the f1/0 port is used as a trunk link.
2. Make trunk link on f1/0 of sw1 Layer 3 switch to create vlan10, 20, 100. Assign IP addresses to vlan10, 20, and 100 respectively.
3. Install dhcp in the Linux virtual machine Red6-6
4. Copy the dhcp template to the dhcp configuration file
5. Enter the dhcpd.conf configuration file to
enable the dhcpd service
6. In the vlan gateway of the sw1 layer 3 switch Do dhcp relay.
7. The experiment of opening vpcs in gns3 is
over.
DHCP relay experiment
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325298755&siteId=291194637
Recommended
Ranking