afs*_*ane 2 vmware ping ifconfig centos-7
我正在尝试使用安装在 VMware 工作站上的 centOS 7。
但它没有互联网连接:
$ ping 8.8.8.8
connect: Network is unreachable
$ ping www.google.com
ping: www.google.com: Name or service not known
Run Code Online (Sandbox Code Playgroud)
我在我的虚拟机设置中检查了 NAT,它是 ifconfig 命令的输出:
ens33: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:0c:29:7a:53:87 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
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 1000 (Local Loopback)
RX packets 504 bytes 44064 (43.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 504 bytes 44064 (43.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:14:b1:67 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
Run Code Online (Sandbox Code Playgroud)
知道如何访问互联网吗?
| 归档时间: |
|
| 查看次数: |
9929 次 |
| 最近记录: |