Tcpdump find dhcp leased: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Different examples of useful tcpdump commands. | Different examples of useful tcpdump commands. [https://unixhealthcheck.com/blog?id=433 | original source dhcp dump ] | ||
<pre> | |||
< | |||
tcpdump -i eth0 port 67 or port 68 -e -n -vv | tcpdump -i eth0 port 67 or port 68 -e -n -vv | ||
Line 12: | Line 10: | ||
Vendor-Class Option 60, length 16: "android-dhcp-7.0" | Vendor-Class Option 60, length 16: "android-dhcp-7.0" | ||
Hostname Option 12, length 16: "SAMSUNG-SM-G890A" | Hostname Option 12, length 16: "SAMSUNG-SM-G890A" | ||
</ | </pre> | ||
[[:Category:tcpdump]] | [[:Category:tcpdump]] |
Revision as of 11:39, 15 October 2021
Different examples of useful tcpdump commands. | original source dhcp dump
tcpdump -i eth0 port 67 or port 68 -e -n -vv Client-ID Option 61, length 7: ether ec:9b:f3:6b:97:4b Requested-IP Option 50, length 4: 192.168.0.3 Server-ID Option 54, length 4: 192.168.0.1 MSZ Option 57, length 2: 1500 Vendor-Class Option 60, length 16: "android-dhcp-7.0" Hostname Option 12, length 16: "SAMSUNG-SM-G890A"