虚拟机回环错误

错误记录

  • 最近在做VMware虚拟机测试,里面运行的CentOS 7系统,配置网卡的过程中出现了如下的错误:
[haoserver@localhost ~]$ ping www.baidu.com

From 119.163.198.36 (119.163.xxx.xx) icmp_seq=27 Redirect Network(New nexthop: gateway (119.163.xxx.xx))
From 119.163.198.36 (119.163.xxx.xx): icmp_seq=27 Redirect Network(New nexthop: gateway (119.163.xxx.xx))
64 bytes from 61.135.169.125 (61.135.169.125): icmp_seq=27 ttl=56 time=14.1 ms
  • 经过搜索资料,发现是之前在宿主系统的网卡上面开了共享导致。

路由回环错误pic1

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

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
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐