Difference Between “Bridge” and “NAT” Mode in VirtualBox

 

QUESTIONS BRIDGE MODE  NAT MODE
What is the IP address of VM (guest)?
Note: the IP address of host is 192.168.10.56

Note: the IP address of host is 192.168.10.56
Can VM (guest) shared a folder and allow host to access the shared folder?
Can VM see other PCs/laptops on the MOBITEK workgroup? Yes No
Can VM access the internet? Yes Yes

 

How to Set to “Bridge Mode” in VirtualBox

  1. Click on “Settings new window will pop up for settings.
  2. Then, go to “Network at “Attached to:” option select “Bridged Adapter” and click “OK”.

Note: Not required to stop the machine/ shutdown for this settings.

 

How to Allow OS in VirtualBox to Access Internet

  1. Click on “Settings“, new window will pop up for settings.
  2. Then go to “Network” -> “Advanced”. In “Promiscuous Mode”, select “Allow VMs” or “Allow All“.