Tech
Jigsawing packets: How I sent L2-L7 frames and read them with Scapy
Lab Goal: Debug L2 vs L3 vs L4
Setup: VyOS on Oracle VM - single terminal
L2 - Data Link
Listener on same terminal:
sudo tcpdump -i eth0 -e arp -n &
Send: sendp(Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst="192.168.56.101"))
# 1. SUMMARY
a.summary()
'Ether / ARP who has 192.168.56.1 says 192.168.56.101'
2. FULL DECODE - a.show()
[ Ethernet ]
dst = None (Broadcast FF:FF:FF:FF:FF:FF)
src = 08:00:27:bf:9a:64
type = ARP
...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to