Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
ARP moved messages in the logs
« previous
next »
Print
Pages: [
1
]
Author
Topic: ARP moved messages in the logs (Read 4724 times)
iBROX
Newbie
Posts: 48
Karma: 2
ARP moved messages in the logs
«
on:
September 28, 2021, 10:03:26 am »
Hi,
I'm getting the following messages in the dmesg and console log of my Opsense install :
vmx2: promiscuous mode enabled
arp: x.x.x.x moved from x.x.x.x to y.y.y.y on vmx2
https://lucatnt.com/2016/02/arp-moved-messages-in-freenaspfsense-explained/
I've tried a few things to turn this off but no matter what I do it still shows, I've added a system tunable of :
net.link.ether.inet.log_arp_movements = 0
I see that be added to /boot/loader.conf but after a reboot if I do a sysctl -a it shows it as a value of 1 :
net.link.ether.inet.log_arp_movements: 1
If I run sysctl -w after a reboot it stops the messages, however after a reboot it reverts back to a value of "1" and starts the messages again.
Any ideas?
Logged
supercm
Jr. Member
Posts: 52
Karma: 2
Re: ARP moved messages in the logs
«
Reply #1 on:
December 08, 2021, 09:40:13 pm »
Did you ever get anywhere with this for a long term fix? I am seeing the same thing with a handful of constant repeats.
Logged
42network
Newbie
Posts: 6
Karma: 0
Re: ARP moved messages in the logs
«
Reply #2 on:
December 28, 2021, 04:18:26 am »
I can confirm this behavior still exists in 21.7. The tunable net.link.ether.inet.log_arp_movements is ignored by the boot logic even though it is clearly specified in /boot/loader.conf.
Is this thread sufficient for opening a bug report?
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: ARP moved messages in the logs
«
Reply #3 on:
December 28, 2021, 10:59:55 am »
Use /boot/loader.conf.local or better yet System: Settings: Tunables from GUI.
Cheers,
Franco
Logged
42network
Newbie
Posts: 6
Karma: 0
Re: ARP moved messages in the logs
«
Reply #4 on:
December 28, 2021, 06:46:58 pm »
Hi Franco! Merry Christmas and Happy New Year to you and yours!
The trouble is, I already have
net.link.ether.inet.log_arp_movements = 0
set in the Tunables GUI. I set it a few months ago actually. OPNsense seems to be ignoring it.
(I attached a screenshot of my tunables setting but I am not sure if this forum software allows it.)
This is important to me because I have a house full of Apple/Bonjour devices which are very chatty with proxy ARP when they go to sleep, and this very quickly fills up the dmesg log and makes searching through the system log kinda painful.
Thanks/Nathan
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: ARP moved messages in the logs
«
Reply #5 on:
December 29, 2021, 12:24:15 pm »
Upon closer inspection with an actual laptop you just want to set Interfaces: Settings: Suppress ARP messages which flips these values for you. It's a bit unfortunate that it overrides sysctls, but OTOH easier to maintain as a use case.
Cheers,
Franco
Logged
42network
Newbie
Posts: 6
Karma: 0
Re: ARP moved messages in the logs
«
Reply #6 on:
January 01, 2022, 07:40:42 am »
So I understand correctly, you are suggesting enabling Interfaces->Settings->ARP Handling->Suppress ARP Messages? (screenshot attached)
There is a comment for this setting which says: "This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain". Can you elaborate on this point? This seems to be a global all-or-nothing setting which will suppress all ARP messages.
I'm not sure that is what we are after. We just want the ARP movement messages suppressed. Will your suggestion achieve that goal?
Thanks
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: ARP moved messages in the logs
«
Reply #7 on:
January 01, 2022, 10:48:09 am »
The "risk" posed by the option is two sysctls:
net.link.ether.inet.log_arp_wrong_iface=1
net.link.ether.inet.log_arp_movements=1
If you don't want this the only option is to alter the source code, but that will be lost on the next update.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
ARP moved messages in the logs