Fedora VM无法连接到Host-Only

时间:2015-06-17 13:20:41

标签: vmware-player fedora20

主持人:Win7, VM:Fedora 20, VMware播放器7。 您好,我已经在虚拟Fedora 20 OS上工作了一段时间,随机连接掉线了。主机上的Wifi很好,但是vm无法连接。这是ifconfig -a:

的输出
eno16777736: flags=4098<BROADCAST,MULTICAST>  mtu 1500
    ether 00:50:56:3b:a0:42  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 19  base 0x2000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 0  (Local Loopback)
    RX packets 480  bytes 75417 (73.6 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 480  bytes 75417 (73.6 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

我在Linux操作系统上遇到麻烦。一些指导将非常感谢。

1 个答案:

答案 0 :(得分:0)

我通过将NM_CONTROLLED = yes添加到位于etc / sysconfig / network-scripts中的网卡配置文件来解决了这个问题。然后我运行命令 sudo ifup <name of vm NIC>