In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
experimental topological graph
experimental requirements
As shown in the figure, complete the task according to the requirements:
1) SW2 is a Layer 2 switch, which has three vlans: VLAN1/0, VLAN20 and VLAN100 respectively. f1/1-3 are access links, and f1/0 is trunk link.
2) sw1 is a layer 3 switch, providing gateways for three vlans respectively: vlan10:192.168.10.1/24, vlan20:192.168.20.1/24, vlan100:192.168.100.1/24, and the external network interface is f1/1: 12.0.0.1/24.
3) Linux server inside local area network sets up dhcp service function to provide address and address range for vlan10, vlan20 and vlan100
Vlan10: 192.168.10.100 ~ 192.168.10.200. 255.0Gateway192.168.10. 1/24
Vlan20: 192.168.20.100 ~ 192.168.20.200. 255.0Gateway192.168.20. 1/24
Vlan100: 192.168.100.100 ~ 192.168.100.200. 255.0Gateway192.168.100. 1/24
DNS server address: 192.168.100.100/24
where PC1 host gets 192.168.10.18/24 address fixed
4) DNS service function analysis of Linux server set up in local area network www.kgc.com and www.yun.com
The resolution address is 14.0.0.14/24. The external network WEB server also provides universal domain name resolution function. The resolution address is 8.8.8.8.
5) There is a WEB server built by server2016 on the external network, and a virtual machine host is established to provide two websites, www.kgc.com and www.yun.com, respectively.
6) Realize the final interworking of the whole network and complete functional access
experimental procedure
1. Open GNS3 and build the model according to the topology diagram.
2. Enter sw2, establish vlan, divide the corresponding interface into vlan, set interface f1/0 as trunk link, and turn off routing function.
3. Go to sw1, create vlan, and set gateway and trunk service for each vlan
4. Continue to set up trunk links for interface f1/0 in sw1
5. Set ip12.0.0.1/24 to interface f1/1 (note that f1/1 is a Layer 2 interface here, we need to convert it to a Layer 3 interface with the no switchport command)
6.sw1 Set default route, next hop address is 12.0.0.2
7. Enter R2 and set ip12.0.0.2/24 for interface f0/0 and ip14.0.0.1/24 for interface f0/1
8. Set static route for R2, next hop address 12.0.0.1
9. Open VMware, start a Centos7 virtual machine, install DHCP BIND using yum install, connect VMnet8 after installation (host only mode, the following new virtual machines use host only mode)
10. Copy dhcp service profile template
11. The requested URL/etc/dhcp/dhcpd/was not found on this server.
12. Modify NIC to static IP, 192.168.100.100
13. Restart network service and enable dhcp service
14. Modify the dns master configuration file/etc/named.conf
15. Modify the dns zone configuration file/etc/named.rfc1912.conf
16. Copy 2 zone profile templates and rename them kgc.com.zone , yun.com.zone
17. Modify kgc.com.zone
18. Change yun.com.zone
19. Close firewall and modify dns address configuration file
20. Start DNS service
21. Open a server2016 virtual machine, connect VMnet3, install ftp service
22. Set ip to server, gateway
23. turn off the firewall
24. Establish 2 websites, www.kgc.com and www.yun.com respectively
25. Open 2 clients, connect VMnet1 and VMnet2 respectively, and set them to automatic dhcp allocation ip address.
26. Authentication client 1
27. Authentication client 2
Successful verification, realizing full network interworking
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.