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
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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of bhomass
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!
VMware
VMware

VMware, a software company founded in 1998, was one of the first commercially successful companies to offer x86 virtualization. The storage company EMC purchased VMware in 1994. Dell Technologies acquired EMC in 2016. VMware’s parent company is now Dell Technologies. VMware has many software products that run on desktops, Microsoft Windows, Linux, and macOS, which allows the virtualizing of the x86 architecture. Its enterprise software hypervisor for servers, VMware vSphere Hypervisor (ESXi), is a bare-metal hypervisor that runs directly on the server hardware and does not require an additional underlying operating system.

39K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo