如何在VMWare CentOS guest虚拟机上修复“连接:网络不可达”

时间:2019-07-12 20:08:25

标签: networking centos vmware

我有一个带有CentOS来宾的基于家庭的VMWare环境,由于未知原因,网络无法正常工作,如果可以帮助您进行整理,将不胜感激,详情如下:

VMWare中的来宾上的网络设置enter image description here

IFCONIG

serverRuntimeConfig

为修复它而努力:

我尝试了以下命令来检查网络状态,并查看它是否可以启动:

sudo systemctl重新启动network.service

sudo systemctl状态network.service

enter image description here

ping 结果可以看到,网络仍然无法正常工作。

[rxie@pocnnr1n1 ~]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:0c:29:ee:1b:29  txqueuelen 1000  (Ethernet)
        RX packets 23  bytes 4292 (4.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 55  bytes 9546 (9.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens37: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.211.251  netmask 255.255.255.0  broadcast 192.168.211.255
        inet6 fe80::9222:7771:1915:f057  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:ee:1b:33  txqueuelen 1000  (Ethernet)
        RX packets 286  bytes 30056 (29.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 525  bytes 71249 (69.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6953  bytes 9356006 (8.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6953  bytes 9356006 (8.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:9b:d7:84  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

1 个答案:

答案 0 :(得分:0)

我通过使用自由职业者网站上的某些付费服务解决了这个问题,谢谢。