当前位置首页 > Fedora知识

Fedora24GnomeBoxes无法ping通网络

阅读次数:365 次  来源:admin  发布时间:

安装Fedora 24在试用虚拟机时发现无法ping通外网.

我傻傻地以为是软件问题.

问题描述:

尝试ping程序来测试网络连通性:

(我之前也是ping百度,后来在为了少打字百度了一些比较短的域名. 比如: "to." , "g.cn" , "j.mp" 等等.)

Fedora24GnomeBoxes无法ping通网络

(http://wenku.baidu.com/link?url=oSb0I5xzI1UBhU3aKTXoWll7PYaIm0zNiORJbx_h6PlT-bURWFOCXkW9W2j2ahY-scJf8CyLYp8m9Ti9kDSy-yYss7u5POGpqAxmMnEX5nO)

Fedora24GnomeBoxes无法ping通网络

半天没有响应......

问题分析与解决:

谷歌之:https://www.google.com/webhp?hl=zh-CN#newwindow=1&safe=strict&hl=zh-CN&q=fedora+gnome+boxes+network

看了几条链接后,找到不错的答案:

(http://askubuntu.com/questions/276290/how-to-access-the-internet-from-a-virtual-machine-in-gnome-boxes)

Fedora24GnomeBoxes无法ping通网络

"Thanks to user in the german Arch-Linux board I got an answer: Boxes uses NAT for the host, and some protocols (like ICMP) aren't working. So I couldn't use ping, tracepath and the like , but the network and an installation works nevertheless."

"Boxes使用NAT方式联网,不支持ICMP协议,所以无法使用ping ,tracepath这样的程序.但网络是正常工作的."

可以正常使用DNF下载软件.

总结:不像VMWare一样提供多样的网络连接(host-only,NAT,bridge "一共三种") ,Gnome Boxes只有NAT连接. 我记得在Fedora 23 的时候宿主机有一个virbr0的网卡,但24时已经没有了,感觉像是把网络细节封装起来了(让人有点不习惯).

上一篇:[导入]新手入门FedoraLinux7系统的安装指南
下一篇:fedora25上设置br0