problem with network setup between linux and windows in vmware.
Hi,
I am new to this forum and also to Linux. I was trying to setup network between linux and windows on Vmware. I have windows 7 installed on my hard drive. And i have installed centos on my vmware. I have the internet connection with the following details. Ip is "10.21.53.254". i have setup the NAT as the network in the virtual machine for CentOS. So when i run the command ->'ifconfig' in CentOS it is showing me the ip address "192.168.159.139" and the gateway is "192.168.159.2". So when i try to ping the windows 7 ip address from virtual machine centOS i am able to ping and i am getting the respose. But when i ping from windows 7 command prompt by typing the command -> "ping 192.168.159.139" it is giving me the error message request timeout. Please help me to set it up. And let me know what exactly am doing wrong. Thank |
i'm not quite sure if this is the reason,
ping is based on icmp protocol,and if the destination computer in your case centO.S block the icmp packets,then you wont be able to use ping. |
You should also take a look at the routingtable of you windows computer. Open the dosshell and type
Code:
route print |
As per the suggestion provided, I checked the command "route print" and I got the following output:
=========================================================================== Interface List 13...d0 df 9a 85 05 0e ......Atheros AR9002WB-1NG Wireless Network Adapter 11...14 da e9 a2 70 2a ......Realtek PCIe GBE Family Controller 16...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1 17...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 24...08 00 27 00 98 27 ......VirtualBox Host-Only Ethernet Adapter 1...........................Software Loopback Interface 1 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter 20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4 26...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5 19...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface 25...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.21.53.1 10.21.53.254 276 10.21.53.0 255.255.255.0 On-link 10.21.53.254 276 10.21.53.254 255.255.255.255 On-link 10.21.53.254 276 10.21.53.255 255.255.255.255 On-link 10.21.53.254 276 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 169.254.0.0 255.255.0.0 On-link 169.254.67.232 276 169.254.0.0 255.255.0.0 On-link 169.254.185.136 276 169.254.67.232 255.255.255.255 On-link 169.254.67.232 276 169.254.185.136 255.255.255.255 On-link 169.254.185.136 276 169.254.255.255 255.255.255.255 On-link 169.254.67.232 276 169.254.255.255 255.255.255.255 On-link 169.254.185.136 276 192.168.56.0 255.255.255.0 On-link 192.168.56.1 276 192.168.56.1 255.255.255.255 On-link 192.168.56.1 276 192.168.56.255 255.255.255.255 On-link 192.168.56.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.56.1 276 224.0.0.0 240.0.0.0 On-link 10.21.53.254 276 224.0.0.0 240.0.0.0 On-link 169.254.185.136 276 224.0.0.0 240.0.0.0 On-link 169.254.67.232 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.56.1 276 255.255.255.255 255.255.255.255 On-link 10.21.53.254 276 255.255.255.255 255.255.255.255 On-link 169.254.185.136 276 255.255.255.255 255.255.255.255 On-link 169.254.67.232 276 =========================================================================== Persistent Routes: Network Address Netmask Gateway Address Metric 0.0.0.0 0.0.0.0 10.21.53.1 Default =========================================================================== IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 1 306 ::1/128 On-link 24 276 fe80::/64 On-link 11 276 fe80::/64 On-link 16 276 fe80::/64 On-link 17 276 fe80::/64 On-link 24 276 fe80::745a:515b:eb1e:f402/128 On-link 16 276 fe80::ddbc:f900:27a6:b988/128 On-link 11 276 fe80::ed6b:a1ad:9130:663e/128 On-link 17 276 fe80::ed9a:f5ec:7a51:43e8/128 On-link 1 306 ff00::/8 On-link 24 276 ff00::/8 On-link 11 276 ff00::/8 On-link 16 276 ff00::/8 On-link 17 276 ff00::/8 On-link =========================================================================== Persistent Routes: None Am not able to understand what exactly this output indicates. I just want to get more information on this route path. Please assist me on this output that i got from the "route print" command. Also the output of the "ipconfig /all" command on my system is as follows: Windows IP Configuration Host Name . . . . . . . . . . . . : ravi-PC Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Wireless LAN adapter Wireless Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Atheros AR9002WB-1NG Wireless Network Adapter Physical Address. . . . . . . . . : D0-DF-9A-85-05-0E DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller Physical Address. . . . . . . . . : 14-DA-E9-A2-70-2A DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::ed6b:a1ad:9130:663e%11(Preferred) IPv4 Address. . . . . . . . . . . : 10.21.53.254(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.21.53.1 DHCPv6 IAID . . . . . . . . . . . : 236247785 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-27-FF-8D-14-DA-E9-A2-70-2A DNS Servers . . . . . . . . . . . : 123.108.225.6 123.108.224.6 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1 Physical Address. . . . . . . . . : 00-50-56-C0-00-01 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::ddbc:f900:27a6:b988%16(Preferred) Autoconfiguration IPv4 Address. . : 169.254.185.136(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 251678806 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-27-FF-8D-14-DA-E9-A2-70-2A DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8 Physical Address. . . . . . . . . : 00-50-56-C0-00-08 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::ed9a:f5ec:7a51:43e8%17(Preferred) Autoconfiguration IPv4 Address. . : 169.254.67.232(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 285233238 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-27-FF-8D-14-DA-E9-A2-70-2A DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter Physical Address. . . . . . . . . : 08-00-27-00-98-27 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::745a:515b:eb1e:f402%24(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 621281319 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-27-FF-8D-14-DA-E9-A2-70-2A DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{FFCD2E46-8F22-4955-9F8B-87962C25A1E2}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{0F518BD5-0823-417A-915C-05FF55738738}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{90203946-C58A-4EBD-A8E5-E95EDD0E78AB}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{9C4612AD-ABFF-4714-B25F-D602EB5D1A90}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{E2D56878-7086-4E36-B533-6DC8989B66AB}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{ACDE97D2-C867-4554-AF12-60B6188CD4B1}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Please let me know what is the problem while connecting from my windows computer to CentOS on virtual machine on local computer. Thanks for ur reply. |
For networking between guest and host OS, once check: http://social.technet.microsoft.com/...-efc025010a07/
|
Referring to your Windows Routing table Windows does not know about the IP-adress of your Centos VM.
Markus |
All times are GMT -5. The time now is 09:02 PM. |