Windows与虚拟机Linux之间的访问问题

来源:互联网 发布:windows程序实例 编辑:程序博客网 时间:2024/04/29 08:05

putty是一个通过SSH管理远程Linux服务器的软件。现在要实现Windows访问远端主机。我的虚拟机的ip是192.168.137.128,我的本机的ip是192.168.18.7,并要保证它们能互相ping通。由于我用的CentOS-5.5不需要任何的配置就实现了Windows访问远端的Linux主机。

[root@localhost ~]# ping 192.168.18.7PING 192.168.18.7 (192.168.18.7) 56(84) bytes of data.64 bytes from 192.168.18.7: icmp_seq=1 ttl=128 time=7.97 ms64 bytes from 192.168.18.7: icmp_seq=2 ttl=128 time=1.15 ms64 bytes from 192.168.18.7: icmp_seq=3 ttl=128 time=1.12 ms64 bytes from 192.168.18.7: icmp_seq=4 ttl=128 time=1.20 ms64 bytes from 192.168.18.7: icmp_seq=5 ttl=128 time=1.16 ms64 bytes from 192.168.18.7: icmp_seq=6 ttl=128 time=1.16 ms64 bytes from 192.168.18.7: icmp_seq=7 ttl=128 time=1.03 ms
C:\Documents and Settings\Administrator>ping 192.168.137.128Pinging 192.168.137.128 with 32 bytes of data:Reply from 192.168.137.128: bytes=32 time=3ms TTL=64Reply from 192.168.137.128: bytes=32 time=2ms TTL=64Reply from 192.168.137.128: bytes=32 time=1ms TTL=64Reply from 192.168.137.128: bytes=32 time=2ms TTL=64Ping statistics for 192.168.137.128:    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:    Minimum = 1ms, Maximum = 3ms, Average = 2ms