virtualbox network question

Hello,

I  just installed  virtual  box and trying to configure IP address.  Before I configure,  i clicked on I got there are no active network operations.
I am familiar with vmware workstation, but here I am not getting anything to setup the default network route.
mokkanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
what IP Address are you trying to configure, VMware Workstation and Virtualbox are very similar ?

default network route, is set in the OS TCP/IP parameters for the physical network interface in the host, nothing to do with the Hypervisor ?

If you are referring to VMware's Virtual Network Editor, you will need to use VBoxManage command line tool

to create a NAT Network

e.g. VBoxManage natnetwork add --netname natnet1 --network "192.168.15.0/24" --enable
mokkanAuthor Commented:
My  physical machine default IP addresses is 192.168.0.1 and I have created the VM in virtual box and loaded Solaris,  now I have created the default route to 192.168.0.1 in solaris, but I can't ping.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Well that depends on which networking mode, Virtualbox VM is using Bridged, Host only or NAT.

what IP Address does the VM have, and what networking mode are you using ?
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

mokkanAuthor Commented:
I am using NAT as networking mode to access outside as well.
mokkanAuthor Commented:
How does VM knows about hypervisor connectivity?  that piece is missing.
mokkanAuthor Commented:
Now,  I can ping each VMs, but I can't  ping host or host can't ping VMs.  I have used NAT network.

Am I missign some thing here?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
okay, what are the IP Addresses, of the host and VMs.

The VMs do not really know about the Hypervisor connectivity, it's the NAT network and virtual network which is created by virtualbox.
mokkanAuthor Commented:
host IP address is  192.168.0.16

and VM IPs are  192.168.0.5 and  192.168.0.4
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
and this is NAT ?
mokkanAuthor Commented:
NAT Network
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Okay, well there is something wrong here because you cannot NAT network, to the same network (e.g. subnet).

and the IP Addresses that are used in the NAT network are usually defined by the setup of the NAT network in the hypervisor.

so what you currently have is not going to work.

so some configuration needs to change somewhere in your VMs, or in the NAT network config.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mokkanAuthor Commented:
Thank  you
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
no problems, thank you for your kind words.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.