Next, we must setup a NatNetwork so that the Kali Linux VM will be able to reach the Metasploitable 2 box for testing. To do that, you must select “Tools” from the VirtualBox menu, and create a new NatNetwork, follow the below settings in the screenshot below to configure your subnet:

