Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Monitor DHCP traffic with tcpdump
# Monitoring on interface eth0
tcpdump -i eth0 -n port 67 and port 68
@Slawka

This comment has been minimized.

Copy link

commented Sep 7, 2019

tcpdump -Z slawka -z gzip -i eth0 -A -s65535 -G 1800 -C 50 -w /home/slawka/trace/dhcp_eth0.pcap port 67 and port 68 &

Background Rotate 1800 second or 50 MB

@bamartin125

This comment has been minimized.

Copy link

commented Oct 9, 2019

tcpdump -i eth0 -pvn port 67 and port 68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.