OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: sergiup on September 29, 2017, 05:18:26 PM

Title: Flapping WAN interface
Post by: sergiup on September 29, 2017, 05:18:26 PM
One of my WAN interfaces keep flapping every <10 seconds, I simply cannot figure out why. I've already attempted to move it to a different physical port on the firewall, no change.

This is a sample of the logs:

Quote
Sep 29 14:45:32   opnsense: /usr/local/etc/rc.newwanip: Switching default gateway to EM1_WAN_VDSL_PPPOE (OTHER-WAN-IP)
Sep 29 14:45:31   opnsense: /usr/local/etc/rc.newwanip: On (IP address: FLAPPING-WAN-IP) (interface: EM0_WAN_VIRGIN[wan]) (real interface: em0).
Sep 29 14:45:31   opnsense: /usr/local/etc/rc.newwanip: IP renewal is starting on 'em0'
Sep 29 14:45:31   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:31   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:31   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:31   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:31   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:30   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:30   kernel: em0: link state changed to UP
Sep 29 14:45:30   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:30   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:30   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:29   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:29   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:28   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:28   kernel: arpresolve: can't allocate llinfo for FLAPPING-WAN-GW on em0
Sep 29 14:45:28   kernel: em0: link state changed to DOWN
Sep 29 14:45:28   opnsense: /usr/local/etc/rc.linkup: HOTPLUG: Configuring interface wan
Sep 29 14:45:28   opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet attached event for wan
Sep 29 14:45:28   configd.py: [79bc7ce3-a14c-4667-a1dc-df305fbe7fd4] Linkup starting em0
Sep 29 14:45:28   opnsense: /usr/local/etc/rc.linkup: Clearing states to old gateway FLAPPING-WAN-GW.
Sep 29 14:45:28   opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet detached event for wan
Sep 29 14:45:28   configd.py: [6de0e49b-8cd3-4134-ae61-3ea0b8cdd10c] Linkup stopping em0

This repeats every just under 10 seconds. I'm not sure what to try now...
Title: Re: Flapping WAN interface
Post by: sergiup on October 06, 2017, 12:42:08 AM
Well, that was weird... I upgraded from 17.7.4 to 17.7.5 today and there's no more flapping...
Title: Re: Flapping WAN interface
Post by: franco on October 09, 2017, 11:08:18 PM
Hi there,

This likely wasn't a solution in code, you probably restarted and now the system behaves differently until it doesn't?


Cheers,
Franco