In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you the VMware VMnet8 mode shared host network configuration static IP and DNS example analysis, the content is concise and easy to understand, absolutely can make your eyes bright, through the detailed introduction of this article, I hope you can get something.
I. brief introduction
NAT Network Mode:
1. The host can be thought of as a router, and the virtual machine accesses the Internet through the host's network
two。 Multiple virtual machines can be installed to form a small local area network, such as building hadoop clusters and distributed services.
II. Configuration
1. VMnet8 sets static IP
4. Start the virtual machine
5. Modify network settings
Check the name of the network card first
# ip addr
Go to the network-scripts directory and find the ifcfg-ens33 file
# cd / etc/sysconfig/network-scripts/# ls
Edit ifcfg-ens33 file, modify configuration
1. Ifcfg-ens33
two。 Modify
3. OTPROTO=static # uses static IP
4. Add
5. ADDR=192.168.5.100 # set IP
6. TMASK=255.255.255.0 # subnet mask
7. TEWAY=192.168.5.2 # Gateway
8. S1 192.168.5.2 # DNS
9. The parameters of _ CONTROLLED=no # network mamager, which take effect in real time. There is no need to restart ONBOOT=yes.
6. Restart network
# systemctl restart network or # service network restar
7. Verify the result. You can see the following figure, that is, the network setting of the shared host is successful.
# pingping is Ping www.a.shifen.com [61.135.169.121] with 32 bytes of data: reply from 61.135.169.121: byte = 32 time = 40ms TTL=52 from 61.135.169.121 reply: byte = 32 time = 71ms TTL=52 reply from 61.135.169.121: byte = 32 time = 43ms TTL=52 reply from 61.135.169.121: byte = 32 time = 80ms TTL=52 It is an example analysis of VMware VMnet8 mode shared host network configuration static IP and DNS. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.