FastNetMon

Wednesday 20 June 2012

Отладка работы протокола DHCP

Делается это чудесной утилитой:
apt-get install -y dhcpdump
Вот такую выдачу она генерит:
dhcpdump -i vlan17
TIME: 2012-06-20 02:15:18.957
IP: 0.0.0.0 (38:60:77:b4:a4:bc) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: efac6b7d
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 38:60:77:b4:a4:bc:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST)
OPTION: 50 ( 4) Request IP address xx.yy.zz.kk
OPTION: 55 ( 13) Parameter Request List 1 (Subnet mask)
28 (Broadcast address)
2 (Time offset)
121 (Classless Static Route)
15 (Domainname)
6 (DNS server)
12 (Host name)
40 (NIS domain)
41 (NIS servers)
42 (NTP servers)
26 (Interface MTU)
119 (Domain Search)
3 (Routers)
---------------------------------------------------------------------------

No comments :

Post a Comment

Note: only a member of this blog may post a comment.