{"id":740,"date":"2015-09-17T12:49:39","date_gmt":"2015-09-17T10:49:39","guid":{"rendered":"http:\/\/dety.net.ua\/?p=740"},"modified":"2015-09-17T12:49:39","modified_gmt":"2015-09-17T10:49:39","slug":"dhcp-debugging-with-tcpdump","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=740","title":{"rendered":"DHCP debugging with tcpdump"},"content":{"rendered":"<div id=\"WikiaArticle\" class=\"WikiaArticle\">\n<div id=\"mw-content-text\" class=\"mw-content-ltr mw-content-text\" dir=\"ltr\" lang=\"en\">\n<p><a href=\"http:\/\/sysadmin.wikia.com\/wiki\/DHCP_debugging_with_tcpdump\" target=\"_blank\">http:\/\/sysadmin.wikia.com\/wiki\/DHCP_debugging_with_tcpdump<\/a><\/p>\n<p>tcpdump filter to match DHCP packets including a specific Client MAC Address:<\/p>\n<pre>tcpdump -i br0 -vvv -s 1500 '((port 67 or port 68) and (udp[38:4] = 0x3e0ccf08))'\r\n<\/pre>\n<p>tcpdump filter to capture packets sent by the client (DISCOVER, REQUEST, INFORM):<\/p>\n<pre>tcpdump -i br0 -vvv -s 1500 '((port 67 or port 68) and (udp[8:1] = 0x1))'\r\n<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/sysadmin.wikia.com\/wiki\/DHCP_debugging_with_tcpdump tcpdump filter to match DHCP packets including a specific Client MAC Address: tcpdump -i br0 -vvv -s 1500 &#8216;((port 67 or port 68) and (udp[38:4] = 0x3e0ccf08))&#8217; tcpdump filter to capture packets sent by the client (DISCOVER, REQUEST, INFORM): tcpdump -i br0 -vvv -s 1500 &#8216;((port 67 or port 68) and (udp[8:1] = 0x1))&#8217;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,13],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=740"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":741,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions\/741"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}