05.09.2017

difference between NAT / Bridged / Host-Only networking in virtual machines

By benbam
  • Host-Only: The VM will be assigned one IP, but it’s only accessible by the box VM is running on. No other computers can access it.
  • NAT: Just like your home network with a wireless router, the VM will be assigned in a separate subnet, likeĀ 192.168.6.1Ā is your host computer, and VM isĀ 192.168.6.3, then your VM can access outside network like your host, but no outside access to your VM directly, it’s protected.
  • Bridged: Your VM will be in the same network as your host, if your host IP isĀ 172.16.120.45then your VM will be likeĀ 172.16.120.50. It can be accessed by all computers in your host network.