我有以下设置:
My router - 192.168.0.1
My host computer (Windows 7) - 192.168.0.3
Ubuntu作为虚拟机在主机上运行。VMWare网络设置是桥接模式。我在/etc/netowrk/接口中修改了Ubuntu网络设置,设置如下配置:
iface eth0 inet static
address 192.168.0.220
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
互联网正常工作,我可以安装软件包。但如果我试着弹一些东西我会觉得很奇怪:
PING belpak.by (193.232.248.80) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Time to live exceeded
From 192.168.0.1 icmp_seq=1 Time to live exceeded
From 192.168.0.1 icmp_seq=1 Time to live exceeded
From 192.168.0.1 icmp_seq=1 Time to live exceeded
From 192.168.0.1 icmp_seq=1 Time to live exceeded
64 bytes from belhost.by (193.232.248.80): icmp_seq=1 ttl=250 time=17.0 ms
64 bytes from belhost.by (193.232.248.80): icmp_seq=1 ttl=249 time=17.0 ms (DUP! )
64 bytes from belhost.by (193.232.248.80): icmp_seq=1 ttl=248 time=17.0 ms (DUP! )
64 bytes from belhost.by (193.232.248.80): icmp_seq=1 ttl=247 time=17.0 ms (DUP! )
64 bytes from belhost.by (193.232.248.80): icmp_seq=1 ttl=246 time=17.0 ms (DUP! )
^CFrom 192.168.0.1 icmp_seq=2 Time to live exceeded
--- belpak.by ping statistics ---
2 packets transmitted, 1 received, +4 duplicates, +6 errors, 50% packet loss, ti me 999ms
rtt min/avg/max/mdev = 17.023/17.041/17.048/0.117 ms
我认为更有趣的是敲击路由器本身的结果:
stonerain@ubuntu:~$ ping 192.168.0.1 -c 1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.3: icmp_seq=1 Redirect Network(New nexthop: 192.168.0.1)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=254 time=6.64 ms
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.644/6.644/6.644/0.000 ms
但是如果我设置-c 2:
...
64 bytes from 192.168.0.1: icmp_seq=1 ttl=252 time=13.5 ms (DUP!)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=251 time=13.5 ms (DUP!)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=254 time=13.5 ms (DUP!)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=253 time=13.5 ms (DUP!)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=252 time=13.5 ms (DUP!)
64 bytes from 192.168.0.1: icmp_seq=1 ttl=251 time=13.5 ms (DUP!)
From 192.168.0.3: icmp_seq=2 Redirect Network(New nexthop: 192.168.0.1)
64 bytes from 192.168.0.1: icmp_seq=2 ttl=254 time=7.87 ms
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, +256 duplicates, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 6.666/10.141/13.556/2.410 ms
另一方面,Pinging主机绝对正确地工作:没有DUP,没有错误。
什么似乎是问题,我如何解决它?谢谢。
发布于 2012-07-19 00:47:08
我也经历过同样的问题,在Ubuntu12.04上使用DHCP作为Win7 x64主机上的来宾,使用VMware工作站8.04。我知道VMware内核有问题,因为VMware Player 4.0和VMware工作站8.0共享它,但我不知道哪里出了问题。
但我找到了罪魁祸首
这是路由和远程访问服务。我在配置Win7框以接受传入的PPTP连接时激活了它。停止它,问题就消失了。
此外,还有其他一些与此相关的怪癖。除了Ubuntu客人之外,我还有一个Win XP来宾,它在桥接时无法建立出站PPTP连接。当禁用RRAS服务时,这也是固定的。
在搜索这个问题时,我发现了其他关于RRAS是问题的报道,例如http://www.codeblog.co.uk/2009/06/22/fixes-and-tweaks/vmware-duplicate-ping-responses/
发布于 2012-02-24 17:54:28
其他信息:
结论:问题不在网络中,也不在Linux中,而在VMWare配置中。也许是因为升级
关于这个主题的许多其他文章提到他们正在运行VMWare在Windows (7) 64位上。有没有人在32环境中经历过同样的问题?
https://askubuntu.com/questions/75562
复制相似问题