In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to configure virtual machine static IP address in VMware". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to configure virtual machine static IP address with VMware.
Use VMware to configure static IP address of virtual machine for your reference. The details are as follows
First, after installing the virtual, select Edit → Virtual Network Editor in the menu bar, open the virtual network editor dialog box, select the Vmnet8 Net network connection method, set the subnet IP at will, click the NAT settings page to view the subnet mask and gateway, and then modify the static IP.
Check the host VM8 network card settings, open the network and sharing center → to change the adapter settings →, right-click on the VMware Network Adapter VMnet8, select the properties button to open the properties dialog box.
Third, in the lower right corner of the virtual machine, click the network adapter button, right-click to disconnect, and then reconnect to ensure that the previous settings take effect. Then turn on the virtual machine and type ifcfg to view the currently allocated IP.
4. Modify the network configuration file, turn off the host firewall (/ etc/init.d/iptables stop), and then check the fire prevention request status (chkconfig iptables status). Then the ping host ip (192.168.223.11), the host VM8 IP (192.168.219.1), and the gateway before the host and the virtual machine IP (192.168.219.2) can all indicate that the virtual machine fixed IP is set successfully.
The vi/etc/sysconfig/network-scripts/ifcfg-eth0 is:
(hint: press a key to enter insert mode, press esc, press ": wq" to save exit)
DEVICE=eth0
HWADDR=00:0C:29:FA:C8:C2 (physical address cannot be plagiarized)
TYPE=Ethernet
UUID=b1aff802-155b-445e-b9cc-485d30aa6e4e (only ID cannot plagiarize)
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.219.11
GATEWAY=192.168.219.2
Check if the firewall is turned off
Restart the virtual machine (reboot) to verify whether the IP is fixed.
At this point, I believe you have a deeper understanding of "how to configure virtual machine static IP address in VMware". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.