Layer 2 discovery - ARP

To understand how ARP discovery works, we will start by using Scapy to craft custom packets that will allow us to identify hosts on the LAN using ARP:

  1. To begin using Scapy in Kali Linux, enter the scapy command from the Terminal. You can then use the display() function to see the default configurations for any ARP object created in Scapy in the following manner:
  1. Notice that both the IP and MAC source addresses are automatically configured to the values associated with the host on which Scapy is being run. Except in the case that you are spoofing an alternate source address, these values will never have to be changed ...

Get Kali Linux Network Scanning Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.