{"id":1160,"date":"2018-01-06T11:41:50","date_gmt":"2018-01-06T11:41:50","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/?p=1160"},"modified":"2018-01-06T17:16:00","modified_gmt":"2018-01-06T17:16:00","slug":"clear-arp-neighbour-cache-on-linux","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2018\/clear-arp-neighbour-cache-on-linux\/","title":{"rendered":"Clear ARP \/ Neighbour cache on Linux"},"content":{"rendered":"<p>I am trying to diagnose why out-of-scope ARP requests are being sent (ARP requests for addresses that should be on the default gateway). I thought I had figured it out, but my ARP table was still full of 100&#8217;s of incomplete entries. &#8220;<code>arp -d<\/code>&#8221; just marks an entry as incomplete, so does &#8220;<code>ip neigh del<\/code>&#8220;. I wanted to flush the entire cache.<\/p>\n<p>What finally worked was to flip ARP on\/off.<\/p>\n<pre class=\"lang:default decode:true \" >ip link set arp off dev eth0; ip link set arp on dev eth0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am trying to diagnose why out-of-scope ARP requests are being sent (ARP requests for addresses that should be on the default gateway). I thought I had figured it out, but my ARP table was still full of 100&#8217;s of incomplete entries. &#8220;arp -d&#8221; just marks an entry as incomplete, so does &#8220;ip neigh del&#8220;. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[235,233],"class_list":["post-1160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-arp","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/1160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=1160"}],"version-history":[{"count":3,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/1160\/revisions"}],"predecessor-version":[{"id":1163,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/1160\/revisions\/1163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=1160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=1160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=1160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}