Unable to ping Solaris VM from Xp host

Hi All,

I am using Vmware Workstation 6.0.3 build-80004.

Guest OS: Solaris 10
Host OS : Win XP

I am getting request time out when i am trying to ping from XP ( cmd line) to Solaris VM

  • I have assigned IP 192.168.50.5 in Solaris VM ( Hostname: Tower1) and it is in UP status.

VM>Settings > Showing Ethernet as Bridged .

/etc/defaultrouter
192.168.50.5 Tower1
/etc/hosts
127.0.0.1 localhost loghost Tower1
192.168.50.5 Tower1
/etc/netmasks
192.168.50.0 255.255.255.0

Please help me to get this resolve.

You have added a default router of the guest itself ? (Or am I reading that wrong ?)
Also can you supply all the IP address, etc of the Win XP box ?
("ipconfig /all" and "netstat -rn" outputs would be useful)

Pls check the below info

# more /etc/defaultrouter
192.168.50.5 Tower1

IN Xp network connections i can see VMnet1 and VMnet8 ( Vmware network adaptor))

IP's
VMnet8 192.168.77.1
VMnet1 192.168.58.1

Netstat -rn
Destination    Gateway         flags   ref   use     Interface
default        192.168.50.5     UG      1      0
192.168.50.0   192.168.50.5     U       1      0       pcn0
224.0.0.0      127.0.0.1        U       1      0       lo0
127.0.0.1      127.0.0.1        UH      8      424     lo0
 
D:\Documents and Settings\saurabh.a.goyal>ipconfig /all
Windows IP Configuration
        Host Name . . . . . . . . . . . . : DDC-5001601
        Primary Dns Suffix  . . . . . . . : xyz.com
        Node Type . . . . . . . . . . . . : Mixed
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : xyz.com
                                            abc.com
                                            
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
        IP Address. . . . . . . . . . . . : 192.168.77.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
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
        IP Address. . . . . . . . . . . . : 192.168.58.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 2:
        Connection-specific DNS Suffix  . : xyz.com
        Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
        Physical Address. . . . . . . . . : 70-5A-B6-27-91-16
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 172.20.3.19
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 172.20.3.2
        DHCP Server . . . . . . . . . . . : 10.x.x.x.x
        DNS Servers . . . . . . . . . . . : 10.x.x.x.
                                            10.x.x.x.
        NetBIOS over Tcpip. . . . . . . . : Disabled
        Lease Obtained. . . . . . . . . . : Tuesday, January 25, 2011 5:03:53 PM
        Lease Expires . . . . . . . . . . : Wednesday, February 02, 2011 5:03:53
 PM
Ethernet adapter Wireless Network Connection:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Intel(R) WiFi Link 5100
        Physical Address. . . . . . . . . : 00-24-D6-71-80-D2
Ethernet adapter {F72300F5-C1F4-4C6A-8589-37D2A1A67B1E}:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Sch
eduler Miniport
        Physical Address. . . . . . . . . : 44-45-53-54-42-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 0.0.0.0
        Subnet Mask . . . . . . . . . . . : 0.0.0.0
        Default Gateway . . . . . . . . . :
        NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter Network Connect Adapter:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Juniper Network Connect Virtual Adap
ter
        Physical Address. . . . . . . . . : 00-FF-08-D0-35-8A

Pls check above info

The reason is quite simple: you've placed the VM in the 192.168.50.0/24 network, but the host machine is in the 172.20.3.0/24 network. To establish communication between these the default gateway (172.20.3.2) would have to know how to route between these.

Put the VM into the correct network and connections should work without problems.

I will post my response in few days..will check above workout provided by 'pludi' and will post the result soon.