问题
虚拟机中ping 百度或者网关,可以访问外网,连接正常但是会出现如下问题:
root@yuxy:~# ping 192.168.23.1
PING 192.168.23.1 (192.168.23.1) 56(84) bytes of data.
From 192.168.23.213: icmp_seq=1 Redirect Network(New nexthop: 192.168.23.1)
64 bytes from 192.168.23.1: icmp_seq=1 ttl=255 time=1.57 ms
From 192.168.23.213: icmp_seq=2 Redirect Network(New nexthop: 192.168.23.1)
64 bytes from 192.168.23.1: icmp_seq=2 ttl=255 time=1.60 ms
From 192.168.23.213: icmp_seq=3 Redirect Network(New nexthop: 192.168.23.1)
64 bytes from 192.168.23.1: icmp_seq=3 ttl=255 time=2.02 ms
From 192.168.23.213: icmp_seq=4 Redirect Network(New nexthop: 192.168.23.1)
64 bytes from 192.168.23.1: icmp_seq=4 ttl=255 time=1.61 ms
问题排查
是因为宿主机开启了网络共享的原因导致的
解决办法
关闭宿主机的网络共享
问题影响
该问题是否会影响到虚拟机的下载速度呢?