LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2012, 05:54 AM   #1
yravi104
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Smile 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
 
Old 12-05-2012, 01:53 PM   #2
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
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.
 
Old 12-05-2012, 02:48 PM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
You should also take a look at the routingtable of you windows computer. Open the dosshell and type
Code:
route print
Markus
 
Old 12-05-2012, 10:19 PM   #4
yravi104
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Smile

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.

Last edited by yravi104; 12-05-2012 at 10:24 PM.
 
Old 12-05-2012, 11:21 PM   #5
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
For networking between guest and host OS, once check: http://social.technet.microsoft.com/...-efc025010a07/
 
Old 12-06-2012, 01:41 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Referring to your Windows Routing table Windows does not know about the IP-adress of your Centos VM.

Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup VMware's Network Configuration for Red Hat can access Internet? phyogyi Linux - Networking 1 04-07-2010 06:37 AM
VMware network setup jon23d Linux - Networking 10 10-18-2006 01:40 PM
network connection SLES 9 in vmware 5 on windows xp ryzor General 2 07-24-2006 09:19 AM
Vmware Virtual Machine Problem With Windows In Vmware jvdbossc Linux - Software 2 05-28-2004 07:54 AM
network setup and browsing problem in linux 9 mayukhbd Linux - Networking 3 04-12-2004 02:20 AM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration