The lab will consist of 3 virtual machines :-
Kali Linux v2
you can download these from this links :-
Install all these on the virtual lab i am using VMware Workstation but you can also use Virtual Box.
After Installing all of these Operating systems on your virtual environment go to there setting and Network And Adopter setting and chose Bridged Network.
This is recommend for all the virtual machines used in the Lab.
After that second step is to provide them a static ip so for Linux Machines do this Open the terminal and follow :-
In this file change the eth0 section.
iface eth0 inet static
The ip address in the address you have to change it for each machine eg :-
Kali Linux 2 : 192.168.1.30
Metasploitable 2 : 192.168.1.31
Windows 7 : 192.168.1.32
If you don’t you how to setup static ip for windows 7 then follow this article.