Link to home
Start Free TrialLog in
Avatar of mokkan
mokkan

asked on

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

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
Avatar of mokkan
mokkan

ASKER

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.
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 ?
Avatar of mokkan

ASKER

I am using NAT as networking mode to access outside as well.
Avatar of mokkan

ASKER

How does VM knows about hypervisor connectivity?  that piece is missing.
Avatar of mokkan

ASKER

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?
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.
Avatar of mokkan

ASKER

host IP address is  192.168.0.16

and VM IPs are  192.168.0.5 and  192.168.0.4
Avatar of mokkan

ASKER

NAT Network
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 mokkan

ASKER

Thank  you
no problems, thank you for your kind words.