2024年3月15日发(作者:)
VMware是很受欢迎的虚拟机,在我们平时的工作中需要经常用到,此文简单总结了平时
使用的三种网络配置方式,具体的原理没有去深究。
虚拟机系统安装的是Linux系统。
首先,我们在本机上查看所有网络配置连接,使用命令:ipconfig
Java代码
1. Microsoft Windows XP [版本 5.1.2600]
2. (C) 版权所有 1985-2001 Microsoft Corp.
3.
4. C:Documents and Settingsuser>ipconfig
5.
6. Windows IP Configuration
7.
8.
9. Ethernet adapter VMware Network Adapter VMnet8:
10.
11. Connection-specific DNS Suffix . :
12. IP Address. . . . . . . . . . . . : 192.168.
74.1
13. Subnet Mask . . . . . . . . . . . : 255.255.
255.0
14. Default Gateway . . . . . . . . . :
15.
16. Ethernet adapter VMware Network Adapter VMnet1:
17.
18. Connection-specific DNS Suffix . :
19. IP Address. . . . . . . . . . . . : 192.168.
2.1
20. Subnet Mask . . . . . . . . . . . : 255.255.
255.0
21. Default Gateway . . . . . . . . . :
22.
23. Ethernet adapter 无线网络连接:
24.
25. Connection-specific DNS Suffix . :
26. IP Address. . . . . . . . . . . . : 192.168.
1.209
27. Subnet Mask . . . . . . . . . . . : 255.255.
255.0
28. Default Gateway . . . . . . . . . : 192.168.
1.1
29.
30. Ethernet adapter 本地连接:
31.
32. Media State . . . . . . . . . . . : Media d
isconnected
33.
34. Ethernet adapter VirtualBox Host-Only Network:
35.
36. Connection-specific DNS Suffix . :
37. IP Address. . . . . . . . . . . . : 192.168.
154.1
38. Subnet Mask . . . . . . . . . . . : 255.255.
255.0
39. Default Gateway . . . . . . . . . :
40.
41. C:Documents and Settingsuser>
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:Documents and Settingsuser>ipconfig
Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.74.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.2.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter 无线网络连接:
发布者:admin,转转请注明出处:http://www.yc00.com/web/1710509139a1769157.html
评论列表(0条)