Link to home
Start Free TrialLog in
Avatar of bhomass
bhomass

asked on

ubantu vmware, can not reach ip address

I set up an ubantu virtual machine using VirtualBox. I can ping the internet from this virtual machine. It shows an ip address like 10.0.2.15. Which is different from my LAN subnet (192.168.1.xxx).

I can ping my host machine from the virtual machine, but not the other way around. Can some one point out how to connect to the virtual machine address. Do I need to set up NAT?
Avatar of vmwarun - Arun
vmwarun - Arun
Flag of India image

By default, it chooses NAT for VMs you create. You can choose "Bridged networking" that would make the VM use 192.168.1.x subnet. For a more detailed explanation, check the URL below.

https://www.virtualbox.org/manual/ch06.html
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhomass
bhomass

ASKER

If NAT is the current setting, what is 10.0.2.15 being translated to/from?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhomass

ASKER

wonderful. I remember doing this thing a long time ago. Now it is all coming back. I got it going using bridged setting. Thank you very much!