My ubuntu 16 is installed in Windows 7 Oracle virtual box but when I try to communicate with putty it says network error.Try to communicate with comand prompt it says timeout.please give your input.
Response:C:\Users\a591470>ping 10.0.2.225
Pinging 10.0.2.225 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 10.0.2.225: Packets: Sent = 3, Received = 0, Lost = 3 (100% loss), 2 1 Answer
The problem is using NAT as networkcard in Virtualbox. It is impossible to reach the virtual box OS using NAT.
There are two solutions:
If you have two network cards like cable, wireless and both are connected to your LAN, then you can change the network adapter in VirtualBox to bridging mode an choose one of the network cards.
The second solution (I particulary use) is installing Haguichi on Ubuntu and Hamachi on Windows. Create a new Network and connect both to the same network and use the IPs given by this virtual network.