In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
one。 Make sure that the network connection is bridged.
To select copy physical network connection status
two。 Edit the network card file
Vim / etc/sysconfig/network-scripts/ifcfg-ens160
The last ifcfg-ens160 is my network card file. I won't say how to find a lot of network card files on the Internet.
Content of network card file
TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=static # here is the original dhcp changed to the current staticDEFROUTE=yesIPV4_FAILURE_FATAL=noIPV6INIT=yesIPV6_AUTOCONF=yesIPV6_DEFROUTE=yesIPV6_FAILURE_FATAL=noIPV6_ADDR_GEN_MODE=stable-privacyNAME=ens160UUID=76b80c19-2841-4df6-aa8d-e7bfef018320DEVICE=ens160ONBOOT=yes # the following is the new configuration IPADDR=192.168.0.111 # ip address the first three network segments are the same as the host Fourth, do not be the same as the host IP GATEWAY=192.168.0.1 # gateway is the same as the host NETMASK=255.255.255.0 # subnet mask is usually this DNS1=114.114.114.114 # DNS address, some tutorials on the Internet say you don't have to write, but I don't have to write it, I don't have to change it, just write this.
three。 Restart the network card
After editing, save and restart the network card service nmcli c reload. Finally, ping Baidu to see if you can get through ping www.baidu.com.
four。 Problems that may arise
It may occur that the virtual function ping is connected to the external network but the ping is not connected to the host computer. This may be because the firewall is turned on for windows, go to the control panel and turn off the firewall.
Summary
The above is the method of bridging static IP configuration of Centos8 in VMware virtual machine introduced by Xiaobian. I hope it will be helpful to you, and thank you very much for your support to the website!
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.