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--
Architectural devices:
One router, one layer 3 switch, one layer 2 switch, two servers, one providing DHCP+DNS service, one providing WEB web service, and two clients. Used to get addresses and tests.
The server that provides DHCP+DNS is replaced by CentOS 7.
The WEB web service is replaced by windows server.
One win 10 on the client. A win 7.
Project requirements:
1) sw2 is a layer 2 switch, and three vlan,f1/1-3 of vlan10,vlan20,vlan100 are access links.
F1ap0 is the trunk link.
2) sw1 is a layer 3 switch, which provides gateways for three vlan, vlan10:192.168.10.1/24, vlan20:192.168.20.1/24, vlan100:192.168.100.1/24 and f1amp 1pur12.0.0.1and24.
3) the local area network internal Linux server builds the dhcp service function to provide addresses and address ranges for vlan10,vlan20 and vlan100
Vlan10:192.168.10.100~192.168.10.200 subnet mask: 255.255.255.0 gateway 192.168.10.1Univer 24
Vlan20:192.168.20.100~192.168.20.200 subnet mask: 255.255.255.0 gateway 192.168.20.1 Universe 24
Vlan100:192.168.100.100~192.168.100.200 subnet mask: 255.255.255.0 gateway 192.168.100.1 Universe 24
The address of the dns server is: 192.168.100.100Universe 24
In which the PC1 host always gets the 192.168.10.18 Universe 24 address.
4) build DNS service function in local area network Linux server to analyze www.kgc.com and www.yun.com
The resolution address is 14.0.0.14/24web server, and the pan-domain name resolution function is provided. The resolution address is 8.8.8.8
5) outside the local area network, there is a WEB server built by server2016, and the virtual machine host is established to provide two websites, namely www.kgc.com and www.yun.com, to customize the differential display of home page content.
6) realize the final interconnection of the whole network and improve the function access.
DHCP + DNS + WEB Integrated Architecture Topology Diagram:
1. Install the DHCP service installation package and the DNS service installation package in CentOS 7
2. Set all the network cards to host-only mode, and turn off the function of automatically obtaining DHCP services.
Assign Vmnet1 to win 10, Vmnet2 to win 7, Vmnet3 to CentOS 7, and Vmnet8 to windows server.
3. Configure layer 2 switch sw2
Turn off the routing function
Create 3 vlan, namely vlan10, vlan20 and vlan100
Enter port f1max 1, assign it to vlan10, and set vlan mode to access
Enter port f1max 2, assign it to vlan20, and set vlan mode to access
Enter port f1max 3, assign it to vlan100, and set vlan mode to access
Enter interface f1max 0, set the vlan mode to Trunk, and specify the encapsulation protocol as 802.1q
4. Configure layer 3 switch sw1
Create 3 vlan, namely vlan10, vlan20 and vlan100
Enter interface f1max 0, set the vlan mode to Trunk, and specify the encapsulation protocol as 802.1q
Enter vlan10, configure IP address, and subnet mask, specify DHCP server port address, and open
Enter vlan20, configure IP address, and subnet mask, specify DHCP server port address, and open
Enter vlan100, configure IP address, and subnet mask, specify DHCP server port address, and open
Enter port f1max 1, convert layer 2 port to layer 3 port, configure IP address, subnet mask, set speed, and turn on weighted duplex mode
Set default rout
5. Configure router R2
Enter port f0max 0, configure IP address, subnet mask, and turn it on
Enter port f0max 1, configure IP address, subnet mask, and turn it on
Configure static rout
6. Configure DHCP service
Enter the network card directory and configure a static IP address
Restart the network information and view the network card information
Enter the dhcp configuration file for configuration
Set DNS resolution address
Add the network segment and subnet mask of the DHCP relay service, and assign the range. And Gateway
Set a fixed IP address to a client
Return to the win 10 client and use ipconfig / all to view the physical address
Configure win10 with a fixed IP address
Restart the DHCP service
Verify the DHCP service
7. Configure DNS service
Enter the main configuration file of the DNS service to configure
Go to the zone profile and configure it
Copy a copy of the configuration file in named.localhost to kgc.com.zone, and configure it under kgc.com.zone.
Copy a copy of the configuration file under kgc.com.zone to yun.com.zone
Turn off firewall and security features
Enable the named service
Verify DNS parsing
8. Configure WEB web pages
Enter windows server to configure IP address, subnet mask and gateway
Create two web pages in windows server
Add a web web service
Create two successful websites
Next, let's test the connectivity between the web page and the Internet.
Through the client pingCentOS7 server and windowsserver server
We have completed the above framework.
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.