I am currently reading Yahoo's Hadoop tutorial in here. I have installed VMWare player and running a virtual machine, as instructed by the tutorial. However, I cannot connect to my Guest machine from Host, no matter what I try.
The default is NAT mode. When I try to run ifconfig
, I get the following address:
192.168.187.128
Attempting to ping it from within the guest results in success, but any attempt to ping it from the host results in failure. I am using Windows 7 (Host) and Ubuntu (Guest).
I tried changing the networking mode of VMWare to "Host-only". In this case, it looks like there is a failure in the initialization of the netowrking part of the virtual machine:
DHCPRequest of 192.168.187.128 on eth10 to 255.255.255.255 port 67
DHCPRequest of 192.168.187.128 on eth10 to 255.255.255.255 port 67
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 3
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 4
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 11
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 9
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 15
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 9
DHCPDiscover on eth10 to 255.255.255.255 port 67 interval 9
No DHCPOffers received
Trying recorder lease 192.168.187.128
PING 192.168.187.2 (192.168.187.2) 56(84) bytes of data.
--- 192.168.187.2 ping statistics ---
1 packets transmited, 0 recieved, +1 errors, 100% packet loss ,time 0ms
And once again, pinging from the host fails. Using "Bridged" mode results in similar scenario.
Any idea?