As in the previous recipe, we'll go through this layer by layer. In this layer, we will use Nmap to perform discovery at layers 2, 3, and 4.