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 > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to solve the problem that the VM clone virtual machine cannot be connected to the Internet". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. First, make sure that your vmvare Internet service is enabled.
Computer-> right-click Management-> Services and applications-> Services-> Open the following services
VMAuthdService
VMnetDHCP
VMware NAT Service
2 check the startup information of the network card
Click active in the graphical interface of redhat System- > administation- > network indicates that there is a problem with the startup of the network card.
Record the mac address of the HWaddr clone Nic with ifconfig-a (mine is as follows)
Eth0 Link encap:Ethernet HWaddr 00:0C:29:70:6B:DB
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:1000
RX bytes:0 (0.0b) TX bytes:0 (0.0b)
Interrupt:67 Base address:0x2024
Lo Link encap:Local Loopback
Inet addr:127.0.0.1 Mask:255.0.0.0
Inet6 addr: 1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1419 errors:0 dropped:0 overruns:0 frame:0
TX packets:1419 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:0
RX bytes:2927328 (2.7MiB) TX bytes:2927328 (2.7MiB)
Sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:0
RX bytes:0 (0.0b) TX bytes:0 (0.0b)
3. Rename the new Nic to the new ifcfg-eth2
Mv / etc/sysconfig/network-scripts/ifcfg-eth0 / etc/sysconfig/network-scripts/ifcfg-eth2
4. Modify the content of the new Nic (mainly HWaddr 00:0C:29:70:6B:DB)
Vi / etc/sysconfig/network-scripts/ifcfg-eth2
5. Modify the content of the network card
Change DEVICE=eth0 to DEVICE=eth2
Change the HWaddr= to record the HWaddr yourself with ifconfig-a
6 restart the network card
Service network restart
If 7 ping www.baidu.com can be connected to ping, then it means that you can surf the Internet normally.
DEVICE=eth0
ONBOOT=yes
HWADDR=00:0c:29:04:84:fd
BOOTPROTO=static
DNS1=114.114.114.114
IPADDR=192.168.0.110
NETMASK=255.255.255.*
GATEWAY=192.168.88.2
This is the end of the content of "how to solve the problem that the VM clone virtual machine cannot be connected to the Internet". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.