先决条件:windows的防火墙一直关闭,虚拟机Linux的防火墙没安装,Linux的vsftpd、tftp、telnet服务都已启动。
采用bridge连接方式
本机(xp)的ip为自动获取:
Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.247.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.132.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.192.192.18
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.192.192.4
虚拟机Linux IP 设置为:
192.192.192.20
255.255.255.0
192.192.192.4
在xp下:ping 192.192.192.20 不通
在Linux下:ping 192.192.192.4 不通
ping 192.192.192.18 不通
ping 192.168.132.1 不通
ping 192.168.247.1 不通
还想问下,linux的连接方式有4种,每种方式的ip配置有什么不同?如果要转换连接方式又要如何转换?