Skip to content

Instantly share code, notes, and snippets.

@bartman
Created December 3, 2009 20:18
Show Gist options
  • Save bartman/248468 to your computer and use it in GitHub Desktop.
Save bartman/248468 to your computer and use it in GitHub Desktop.
# ./dhcpdump -i eth2
TIME: 2009-12-03 15:17:54.533
IP: 10.10.10.171 (0:1e:68:57:46:88) > 10.10.10.254 (0:d:b9:2:5b:ea)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 1
XID: d6d4ad65
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 1.2.3.4
CHADDR: 00:80:c6:f1:c7:c1:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 55 ( 12) Parameter Request List 1 (Subnet mask)
28 (Broadcast address)
2 (Time offset)
3 (Routers)
15 (Domainname)
6 (DNS server)
119 (Domain Search)
12 (Host name)
44 (NetBIOS name server)
47 (NetBIOS scope)
26 (Interface MTU)
121 (Classless Static Route)
OPTION: 82 ( 6) Relay Agent Information
Circuit-ID 65:74:68:31
---------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment