Trivia - Network Adapter Types in Virtual Box
Trivia - Network Adapter Types in Virtual Box
Previously,
when I first set up my new Kali Linux in Virtual Machine. I chose Bridged
Adapter for the network setting. However, I got an error when I tried to ping
google.com.
ping: google.com: Temporary failure in name resolution
ping: google.com: Temporary failure in name resolution
Changing the connection to NAT fixes it. This is due to my VM configuration, which gets internet access by sharing the host’s network connection (my VM can only communicate with the host machine, not the Internet). Bridged mode failed because when my VM tried to get an IP from the same network as my host machine, the DHCP wasn’t available or blocked by the router, so it didn’t work.
Therefore, to learn more about these different network adapter types, I wrote this page, so that I can review it whenever I want (and maybe you too! :D)
1.
NAT
(Network Address Translation)
This
is the default setting. The VM gets a private IP and the network goes through
the host machine to the VM. Therefore, other devices can not communicate with
the VM directly, but the VM can access the internet without hassle.
2. Bridged Adapter
3. Internal Network
4. Host-only Adapter
5. Generic Driver
6. NAT Network
7. Cloud Network
And that’s all for the type of networking adapters in Virtual Box. For us, NAT is sufficient for now because we usually only need to browse the Internet, download files, and so on. So, access to the Internet is our priority.
That’s all for this page. Thank you for reading!
References: https://www.virtualbox.org/manual/ch06.html



Comments
Post a Comment