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?
VirtualizationVMwareLinux Networking

Avatar of undefined
Last Comment
bhomass

8/22/2022 - Mon
vmwarun - Arun

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
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
bhomass

ASKER
If NAT is the current setting, what is 10.0.2.15 being translated to/from?
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
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!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy