Firstly, power on the Kali Linux and Metasploitable 3 (Windows-based) virtual machines.
\
On Kali Linux, open Terminal and use the following commands to determine the IP address of our target: [[nmap -sn 172.17.2.0/24 --exclude 172.17.2.25]]
**Note**: Before performing a network scan, always identify the IP address of your attacker machine (Kali Linux) and exclude it from the scan results by using the following syntax: [[--exclude <IP-address>]].