Shut up ARP

Sepherosa Ziehau has introduced a new sysctl:

net.link.ether.inet.log_arp_creation_failure

Set this to zero and you won’t get endless ARP events from networks you aren’t on.  For example, I’m hooked up to a cable modem.  I only get a public routable IP address, but the network used for the cable modem network itself bleeds ARP packets out where my DragonFly machine can see it.  Since it’s on a different network segment than the address I receive through DHCP, it always fails and the system logs it.  For example:

May 11 05:20:52 www kernel: arplookup 100.68.112.145 failed: host is not on local network

I can’t do much about it since that layer 2 leakiness is going to happen, but I can shut it up with this sysctl – and thank goodness, cause I’ve been seeing these messages since first using a DOCSIS modem in… 2001 or so?

One Reply to “Shut up ARP”

  1. Thanks Sephe. If you plan on using DragonFlyBSD in Vultr as a VPS, expect this to clog your logs too. This sysctl will clean things up a lot.

Comments are closed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • Anonymous