OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: xofer on September 07, 2016, 10:09:05 am

Title: LAN goes down even on minor configuration changes
Post by: xofer on September 07, 2016, 10:09:05 am
Hi,

i'm testing the opnsense for the first time. I noticed the LAN goes down (no ping, etc) even on the most minute changes.
For instance when creating a new DNS Forwarder host override and applying settings results in the router being offline for ~20 seconds. Same when adding a static DHCP mapping.

Is this normal for opnsense? Does it always take the interface down in addition to restarting dnsmasq on those changes.
Title: Re: LAN goes down even on minor configuration changes
Post by: xofer on September 07, 2016, 10:59:46 am
I have discovered, that no configuration change/apply is actually needed. Just restarting the DHCP or DNS Forwarder service takes the LAN interface totally down for ~20 seconds. Is this normal for OPNsense or is it just me?
Title: Re: LAN goes down even on minor configuration changes
Post by: jschellevis on September 07, 2016, 11:30:13 am
No, that is not normal. Restarting DHCP server or adding a static mapping and apply doesn't interfere with the  network at all.

What hardware are you using?
Title: Re: LAN goes down even on minor configuration changes
Post by: xofer on September 07, 2016, 03:07:14 pm
I put a testing rig together from random pieces:
- Intel(R) Atom(TM) CPU D525 @ 1.80GHz (4 cores)
- 4GB RAM
- 120GB SSD
- 2x RTL8169 (yeah, i know they suck, but...)

There is no load to speak of, only me connected to it and trying to configure.
When I press restart on either DHCP service or DNS Forwarder service ping times out from the LAN side for about 20-30 seconds and then its back on. All traffic from LAN to OPNsense is stalled for this period.
Title: Re: LAN goes down even on minor configuration changes
Post by: Taomyn on September 07, 2016, 03:14:33 pm
I'm not sure if this is related as I have numerous other issues with my setup (16.7.4 amd64), but I have noticed parts of the system that require me to reload the firewall rules after making changes e.g. I just disabled DNS Forwarder and enabled DNS Resolver, then noticed in the firewall logs once again one of my inbound NAT rules was being ignored and blocking the allowed traffic. Reloading the firewall rules immediately fixes the problem. I've made other changes in other parts of the firewall only to find I need to do the same thing.


If this is expected behaviour then either the GUI needs to inform us, I only found out this by trial-and-error, or it should simply do this automatically.
Title: Re: LAN goes down even on minor configuration changes
Post by: jschellevis on September 09, 2016, 02:09:29 pm
@xofer

Perhaps do a factory reset and try again?
There is no reason why things would become slow.. unless you have an issue with your drive or memory.
Title: Re: LAN goes down even on minor configuration changes
Post by: xofer on September 12, 2016, 04:57:31 pm
Factory reset? Its a PC.
Installed on no different SSD, still same. Does not report any errors on the OPNsense itself. I would assume that memory errors would show up in dmesg?
Title: Re: LAN goes down even on minor configuration changes
Post by: bartjsmit on September 12, 2016, 07:09:00 pm
http://www.memtest.org/ will show RAM problems

Bart...
Title: Re: LAN goes down even on minor configuration changes
Post by: jschellevis on September 21, 2016, 04:35:52 pm
With factory reset I mean the option to restore OPNsense to its defaults.

Code: [Select]
In the GUI go to-> System: Firmware: Defaults

Then see if that works well.. if not it is definitely related to your hardware. Otherwise a configuration issue is still an option.