电脑疯子技术论坛|电脑极客社区

 找回密码
 注册

QQ登录

只需一步,快速开始

[linux教程] 虚拟机回环错误

[复制链接]
zhaorong 发表于 2018-5-22 11:36:13 | 显示全部楼层 |阅读模式

虚拟机回环错误

错误记录

最近在做VMware虚拟机测试,里面运行的CentOS 7系统,配置网卡的过程中出现了如下的错误:

  1. [haoserver@localhost ~]$ ping www.baidu.com
  2. From 119.163.198.36 (119.163.xxx.xx) icmp_seq=27 Redirect Network(New nexthop: gateway (119.163.xxx.xx))
  3. From 119.163.198.36 (119.163.xxx.xx): icmp_seq=27 Redirect Network(New nexthop: gateway (119.163.xxx.xx))
  4. 64 bytes from 61.135.169.125 (61.135.169.125): icmp_seq=27 ttl=56 time=14.1 ms
复制代码


经过搜索资料,发现是之前在宿主系统的网卡上面开了共享导致。

20180518091534825.png

去除了共享按钮后,再次测试,已经没有错误了。

PING www.a.shifen.com (61.135.169.121) 56(84) bytes of data.
64 bytes from 61.135.169.121 (61.135.169.121): icmp_seq=1 ttl=56 time=13.4 ms
64 bytes from 61.135.169.121 (61.135.169.121): icmp_seq=2 ttl=56 time=13.9 ms
64 bytes from 61.135.169.121 (61.135.169.121): icmp_seq=3 ttl=56 time=13.8 ms
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|VIP|电脑疯子技术论坛 ( Computer madman team )

GMT+8, 2025-3-14 04:59

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表