



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions on how to set up a NAT network for two virtual machines, one running Kali Linux with Armetage and Metasploit installed, and the other for exploiting. The virtual machines are set up with NAT adapters in Virtualbox, and each VM is assigned a unique IP address. the difference between NAT and Host-Only networks and provides steps to set up a NAT network in Virtualbox.
Typology: Study Guides, Projects, Research
1 / 5
This page cannot be seen from the preview
Don't miss anything!
This illustration uses 2 virtual machines: Kali vm with Armatage installed Metasploit vm for exploiting Have both VMs set for NAT adapters in Settings (the lab assignment suggests using Host Only adapters). Make sure the MAC address of each VM is different (this is 99% likely so if you ignore this you will probably be OK.
NAT vs NAT network: The idea of using a virtual machine is to provide a maximum security by separating the host and different virtual machine, so by default virtual machines do not communicate with each other. When using the NAT networking option in Virtualbox, each machine acts like a real computer connected directly to the Internet though a router (Virtualbox network engine) and all machines using the NAT option are given the same IP address as the VMs are separated and can’t see each other The following two images illustrate this. The first image is for the Metasploitable VM using the NAT adapter and the second one is for the Kali VM using the NAT adapter One way to set up a network for VMs and allow them to communicate is to use the Host-Only option. But this can be done using the NAT network option.
A NAT network works as a private network connected to the Internet through a router where each VM is assigned a different IP address from the same subnet provided by the DHCP server that is created by Virtualbox. Alternativey, a Host-Only network work is a private network that is isolated from the Internet. Setting a NAT network In VirtualBox
Run ifconfig on the Kali and Metasploitable VMs. The following is the result. Notice the IP addresses are different below. Note: If you have more than one adapter connected to same VM and you’d like to disable one of them without turning off the VM, you can do that by right clicking the Network Settings icon ( ) in the lower right corner of the VM and connect/disconnect it.