In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Virtual machines: three virtual machines are interconnected and connected to the network
Table of contents:
I. virtual machine
1. Related software
two。 Virtual machine installation
3. Multiple virtual machines communicate with each other and surf the Internet
2. Multiple virtual machines are interconnected and connected to the network
Prerequisite environment: three virtual machines are in "host only mode"
Three virtual machines: Server2016-3 Server2016-4 Win10-2
The case installs DNS+DHCP+IIS. 3 in Server2016-3.
1. Turn on the local network adapter and enter your own IP address first, as shown in the figure:
At this point, the IP address has been set, and you can proceed to the next step.
two。 To interconnect multiple virtual machines, you need to install DNS+DHCP+IIS (WEB service), as shown in the figure:
At this point, the installation is complete and you can proceed to the next step.
3. You can set DNS first, as shown in the figure:
At this point, 2 different major areas have been installed. You can proceed to the next step.
4. Set up and install DHCP. As shown in the figure:
Now that the DHCP scope is installed, you can open the other two virtual machines and assign their IP addresses, as shown in the figure:
At this point, the two virtual machines have interconnected with Server2016-3 and obtained the IP address.
Since two web welcome pages will be created in this experiment, you need to set up two NICs locally, as shown in the figure:
After the setting is completed, set the IP address of the second Nic, as shown in the figure:
At this point, the IP address of the second network card has been set. You can proceed to the next step.
5. You can now operate the web web page, as shown in the figure:
Here, the physical path in the figure is the address of the web interface, and you can create the page again and put it in the path.
Similarly, set up two website homepages, as shown in the figure:
After the settings are completed, you need to create a file in the file path corresponding to the web page and put it in it, as shown in the figure:
View the file, it has been put in successfully. As shown in the figure:
Generally speaking, there are three types of DNS domain name resolution services:
Different IP
Same IP different port
Same IP, same port, different hostname (DNS domain name resolution service)
This case is exemplified by the last one:
After completing the above steps, proceed to the next step: meet the same IP, same port and different hostname.
Find the following step in the above process:
The IP addresses of the two hostnames are set to the same. Port settings are the same. 、
Log in to the other two virtual machines, open a browser, enter the hostname, and check whether the production is successful, as shown in the figure:
The experiment is successful so far!
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.