I am running VirtualBox on Windows 10, and have 2 VMs set up; Metasploitable (target obviously) and Kali (lab host).
I am attempting to fping, followed by nmap from Kali, and for some reason my Metasploitable is not being seen by Kali. Both machines are running when the ping sweep and nmap is done.
When I use ifconfig, I get the following for Metasploitable eth0:
inet: 192.168.0.3 Bcast: 192.168.0.255 Mask: 255.255.255.0
and for Kali eth0:
inet: 192.168.0.4 Bcast: 192.168.0.255 Mask: 255.255.255.0
When I run fping, ip's in the range of 192.168.0.0/10 I am told all ICMP host Unreachable, even 192.168.0.3 (Metasploitable). When I run nmap, it says all ports are closed on 192.168.0.3 as well.
I am quite new, and following along with a textbook, the results of the text are different than my own, with nmap reporting several ports on the metasploitable vm being open (obviously, as it was designed to be vulnerable). Is there something in my networking setup that is incorrectly done? I used the ifconfig eth0 up
to set up the network configuration for each machine.
NOTE: kali is vdi format, and metasploitable is vmdk. I'm not sure if that would cause issues, so I figured it was worth mentioning.