VM network – NAT vs. Bridge

NAT: Your guests will be hidden in a subnet behind your host.

Network <--> Host (192.168.1.1) <-|-> Guest 1 (192.168.2.1)
                                  |-> Guest 2 (192.168.2.2)

Bridge: Your guests will be in the same network as your host.

Network <--> Host (192.168.1.1) <-|-> Guest 1 (192.168.1.2)
                                  |-> Guest 2 (192.168.1.3)

Example

Goal: You want to access the internet and the embedded device from the Host OS and the Guest OS.

For accessing the internet, you should use a NAT. The office network (router) will provide a DHCP.
1. Host OS: Select automatic IP (via DHCP)
2. Hypervisor: Choose ‘NAT’ as network type
3. Guest OS: Select automatic IP (via DHCP)

For accessing the embedded device, you should use a Bridge. There will be no DHCP in that network.
1. Host OS: Enter static IP 1
2. Hypervisor: Choose ‘Bridge’ as network type
3. Guest OS: Enter static IP 1

1 Be careful that every participant has its unique IP.