Connect both VM machine with 1 just connect to Internet

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Chimaira
Posts: 2
Joined: 18. Oct 2017, 11:31

Connect both VM machine with 1 just connect to Internet

Post by Chimaira »

Hi guys,

I have question,
Is that possible if I installed inside Virtual box (Kali & Vulnhub machine).
Then for Kali can connect to Internet n each VM machine.
For Vulnhub, can not connect internet, just connect to Kali.

How the setting?

Thanks
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Connect both VM machine with 1 just connect to Internet

Post by socratis »

Please read the following: User Manual, ch. 6.2. Introduction to networking modes including the Overview table, which shows quickly what kind of connection is required to achieve what you want. And remember, you can always have more than one network card in your guest to cover multiple scenarios.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Chimaira
Posts: 2
Joined: 18. Oct 2017, 11:31

Re: Connect both VM machine with 1 just connect to Internet

Post by Chimaira »

Hi Socratis,

After using NAT Network & resolve issue "No NAT Network name is currently specified" message, both machines now can connect each other.
But how the setting if I want just Kali can connect to internet?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Connect both VM machine with 1 just connect to Internet

Post by socratis »

Before you can use the "NAT network" you have to define one. VirtualBox Manager » Preferences » NAT networks (tab in 5.1.x or straight in 5.2.x) » define a NATnetwork.

Otherwise you can select simply "NAT" and don't worry about it.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply