Tuesday, April 7, 2015

Setup Oracle Virtualbox Network

So in this post, I will record how do I create a environment with networking. Let get to know the available network setting type that available in Oracle Virtualbox.

Available network type that can found in Oracle Virtualbox

  • Not Attached 
  • NAT (Default)
  • Bridged Network 
  • Internal-Network
  • Host-only Network

Not Attached
It simple as there is no network connected. It is isolated from physical network and VM network. So the guest OS is stand alone without any connection and communication can make.


NAT
By default, the VM will set the network type to NAT.It work like the physical computer that behind the router. In the virtual case, the guest OS will sit behind the VM router. This connection can consider is the most secure way to access the network.




Bridged Network
Bridged networking connects a virtual machine to a network using the host computer's Ethernet adapter. This is often the easiest way to give your virtual machine access to that network. If you use bridged networking, your virtual machine needs to have its own identity on the network. In another word, your host computer (the Mac) will share its network connection with the virtual machines, they'll be sitting as if they were another computer on your network, everyone on the network will see them and be able to interact with them.



Internal-Network
Internal network which is the connection between guest OS. So the communication is only able to make between guest OS that in this mode. The guest OS is unable to communicate with the host. These network is isolated from the physical network.




Host-Only Network
With this network setting, it provide the connection between the guest and host computer. So other host, guest is unable to see the particular guest OS in the network. Another explanation with example is peer to peer connection between two computer in a LAN. 




You can read more from here: https://www.virtualbox.org/manual/ch06.html

No comments:

Post a Comment