When setting up a virtual machine using VirtualBox I find myself either just playing with some vm, such as Windows 10/11 or wanting to build a virtual machine I need to interact with such as a linux machine that I want to ssh into.
Here are the two networks you will most likely us for 99% of your needs.
Virtual apps have two basic methods of allowing guests to have access to the Internet and to connect with other machines.
- NAT: Default where the Guest is on a different network but can still connect to other machines.
- Bridged: Not usually default but puts the Guest machine on the same network as the Host Router and Host machine.
Hope this helps!