Ubuntu能与局域网中其它机子互ping
(经过eth2
)ubuntu
Ubuntu能上外网 (经过eth0
),好比使用w3m
打开网页code
Ubuntu却ping
不通外网 (理论上应该是能够经过eth0
ping
出去的), 从下面的结果能够看出,其实已经能够经过eth0
接口联到外网解析出baidu.com
的ip
了,只是ping
报文收不到。接口
honghe@ubuntu20143-s:~$ ping baidu.com -I eth0 PING baidu.com (123.125.114.144) from 192.168.133.128 eth0: 56(84) bytes of data. ^C --- baidu.com ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2021ms
若是是没有正常联网,是直接返回Destination Host Unreachable
图片
honghe@ubuntu20143-s:~$ ping 8.8.8.8 -I eth2 PING 8.8.8.8 (8.8.8.8) from 192.168.133.128 eth2: 56(84) bytes of data. From 10.192.5.252 icmp_seq=1 Destination Host Unreachable From 10.192.5.252 icmp_seq=2 Destination Host Unreachable From 10.192.5.252 icmp_seq=3 Destination Host Unreachable ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4032ms
固然是把网卡共享关闭就OK。
ip
host机win 7上最近插了个360随身wifi (非广告), 这玩意默认给我打开网卡共享来产生wifi热点。虚拟机
暂时不知如何解释,望高手留言 ;)it