VirtualBox/Networking: Difference between revisions
From charlesreid1
(Created page with "==Types of Networks== ==Internal Network== An internal network is a VM-to-VM network. Good if you have a Kali VBox and you're attacking a Metasploitable VBox, and you want t...") |
|||
| Line 7: | Line 7: | ||
Start by setting up internal networking on the virtual machine image: use a VM's "Settings" box in the GUI. Click "Networking", then pick "Internal Networking." This will use an internal network with the default name of "intnet". | Start by setting up internal networking on the virtual machine image: use a VM's "Settings" box in the GUI. Click "Networking", then pick "Internal Networking." This will use an internal network with the default name of "intnet". | ||
Next, set up the DHCP server that will allow machines on the internal network to talk to each other and be assigned IP addresses. | Next, set up the DHCP server that will allow machines on the internal network to talk to each other and be assigned IP addresses. To do this, use the VBoxManager command line utility: | ||
Also see: https://superuser.com/questions/237057/how-do-i-make-ubuntu-server-get-ipv4-address#442440 | |||
Revision as of 00:30, 26 October 2017
Types of Networks
Internal Network
An internal network is a VM-to-VM network. Good if you have a Kali VBox and you're attacking a Metasploitable VBox, and you want to run it all on top of a Mac while you are, say, on a public wifi network and therefore don't want to expose either machine to the outside world.
Start by setting up internal networking on the virtual machine image: use a VM's "Settings" box in the GUI. Click "Networking", then pick "Internal Networking." This will use an internal network with the default name of "intnet".
Next, set up the DHCP server that will allow machines on the internal network to talk to each other and be assigned IP addresses. To do this, use the VBoxManager command line utility:
Also see: https://superuser.com/questions/237057/how-do-i-make-ubuntu-server-get-ipv4-address#442440