Start Learning
Metasploitable 2 Basics

Metasploitable 2 System Requirements

Metasploitable 2 itself is light — the real planning question is whether your host machine can comfortably run it alongside an attacking VM like Kali Linux at the same time.

Metasploitable 2 (Guest) Minimums

ResourceMinimumRecommended
RAM256 MB512–1024 MB
Disk8 GB8 GB (fixed image size)
CPU1 vCPU1–2 vCPU
Network adapter1 (host-only)1 (host-only)

Planning for a Two-VM Lab

Most learners run Metasploitable 2 next to an attacking VM such as Kali Linux, which is considerably heavier. As a practical baseline for the host machine:

ComponentRecommended Host Spec
Host RAM8 GB minimum, 16 GB comfortable
Free disk space40–60 GB for both VM disks plus headroom
Virtualization supportIntel VT-x or AMD-V enabled in BIOS/UEFI
HypervisorVirtualBox 6.1+ or VMware Workstation/Player/Fusion (recent release)
!

If your host reports a virtualization error on first boot, the fix is almost always enabling VT-x/AMD-V in the BIOS, not a resource shortage. See troubleshooting.

Host OS Compatibility

Because both VirtualBox and VMware run on Windows, macOS, and Linux, Metasploitable 2 works the same regardless of your host operating system. The only host-level requirement is that virtualization extensions are available and enabled.