我在 Windows10 操作系统上安装了 VM Linux。我为我的 VM 设置了 IP 192.168.0.1。有人能指导如何让它从主机访问吗?
[root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:0F:5E:22
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe0f:5e22/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:8294 (8.0 KiB) Interrupt:67 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1465 errors:0 dropped:0 overruns:0 frame:0 TX packets:1465 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2569896 (2.4 MiB) TX bytes:2569896 (2.4 MiB)
[root@localhost ~]#