Layer-2 captures stay below IP: ARP requests and replies, VLAN tags, spanning tree, LLDP and CDP announcements, and switching anomalies such as MAC flapping or broadcast storms. They are useful for understanding what a host sees on a local segment before routing is involved.
Layer 2 packet captures: Ethernet, ARP, VLAN tagging, spanning tree and switching behaviour.
Nmap Scan with Spoofed MAC Address
SYN scan using --spoof-mac to send packets with Apple and Dell vendor MAC address prefixes instead of the real NIC MAC. Shows how MAC address spoofing can evade network access controls and confuse asset identification at Layer 2.
ARP Cache Poisoning Attack (Gratuitous ARP Replies)
10 unsolicited ARP replies falsely announcing that another host's IP belongs to the attacker's MAC address, followed by legitimate ARP requests for contrast. The fundamental technique behind ARP spoofing/MITM attacks on local networks.
ARP Request/Reply Exchanges and Cache Refresh on Local Network
ARP request/reply exchanges between three hosts on a /24 Ethernet segment. Includes: Directed ARP requests (arping) to two hosts with successful unicast replies ARP cache flush followed by new resolution triggered by ICMP traffic Both broadcast ARP requests (who-has) and unicast replies (is-at) Reveals VMware virtual MAC addresses (00:50:56:97:xx:xx) consistent with an ESXi virtual switch. Response times are sub-millisecond. Useful for studying ARP basics and as a baseline for comparing against ARP spoofing attacks.