Linux Slackware 14.2 ping 不工作

Linux Slackware 14.2 ping 不工作

我是 Linux Slackware 的新手。我最近安装Linux Slackware 14.2(在VMWare中)没有界面。我尝试这样做ping 8.8.8.8,但失败了,实际上没有任何消息出来,它保持如下所示。我尝试使用配置网络netconfig,但遇到了同样的问题。

root@david:~# ifconfig
lo: flags=73<UP,L00PBACK,RUNNING> mtu 65536 
        inet 127.0.0.1 netmask 255.0.0.0
        inet6 ::1 prefixlen 128 scopeid 0x10<host> 
        loop txqueuelen 1 (Local Loopback)
        RX packets 78 bytes 6552 (6.3 Kig)
        RX errors 0 dropped 0 overruns 0 frame 0 
        TX packets 78 bytes 6552 (6.3 Kig)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@david:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

我究竟做错了什么?

输出lspci

00:16.1 Class 0604: Device 15ad:07a0 (rev 01)
00:16.2 Class 0604: Device 15ad:07a0 (rev 01)
00:16.3 Class 0604: Device 15ad:07a0 (rev 01)
00:16.4 Class 0604: Device 15ad:07a0 (rev 01)
00:16.5 Class 0604: Device 15ad:07a0 (rev 01)
00:16.6 Class 0604: Device 15ad:07a0 (rev 01)
00:16.7 Class 0604: Device 15ad:07a0 (rev 01)
00:17.0 Class 0604: Device 15ad:07a0 (rev 01)
00:17.1 Class 0604: Device 15ad:07a0 (rev 01)
00:17.2 Class 0604: Device 15ad:07a0 (rev 01)
00:17.3 Class 0604: Device 15ad:07a0 (rev 01)
00:17.4 Class 0604: Device 15ad:07a0 (rev 01)
00:17.5 Class 0604: Device 15ad:07a0 (rev 01)
00:17.6 Class 0604: Device 15ad:07a0 (rev 01)
00:17.7 Class 0604: Device 15ad:07a0 (rev 01)
00:18.0 Class 0604: Device 15ad:07a0 (rev 01)
00:18.1 Class 0604: Device 15ad:07a0 (rev 01)
00:18.2 Class 0604: Device 15ad:07a0 (rev 01)
00:18.3 Class 0604: Device 15ad:07a0 (rev 01)
00:18.4 Class 0604: Device 15ad:07a0 (rev 01)
00:18.5 Class 0604: Device 15ad:07a0 (rev 01)
00:18.6 Class 0604: Device 15ad:07a0 (rev 01)
00:18.7 Class 0604: DevIce 15ad:07a0 (rev 01)
02:00.0 Class 0200: Device 8086:100f (rev 01)

答案1

“最近我安装了 linux slackware 14.2(在 VMWare 中)没​​有接口”...意思是没有网络接口?您需要向 VM 添加一个(虚拟)网络适配器,VMware 默认为“VMXNET 3”类型。如果使用 SR-IOV,只需选择您想要的 VF。

相关内容