Skip to content

Instantly share code, notes, and snippets.

@mattm7n
Created November 29, 2011 14:54
Show Gist options
  • Save mattm7n/1405067 to your computer and use it in GitHub Desktop.
Save mattm7n/1405067 to your computer and use it in GitHub Desktop.
Monitor DHCP traffic with tcpdump
# Monitoring on interface eth0
tcpdump -i eth0 -n port 67 and port 68
@bamartin125
Copy link

tcpdump -i eth0 -pvn port 67 and port 68

@albert-a
Copy link

Thanks, it works

@tcpdump-examples
Copy link

capture dhcpv6 packets

tcpdump -i eth0 -n -vv '(udp port 546 or port 547)'

@tcpdump-examples
Copy link

We can get more tcpdump examples from here.

10 Useful tcpdump command examples

@iamjenechka
Copy link

it's good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment