At random intervals my network seems to go down. I cannot access anything on LAN or WAN when this happens. but there is nothing in any logs to explain why this happens.
It comes back after around a minute. I have tried changing firewall optimisation from aggressive to conservative. Resetting my state table. I am also on the latest update and have rebooted the machine. Any ideas on where to look?
I am running this on a Netgate 6100. With Vlans
			
			
			
				Did you take a look at the console when that happens? Did it happen before you configured VLANs?
If your whole network goes down, it could be caused by a network loop that has been introduced by your VLAN configuration.
The general recommendation is not to mix tagged and untagged traffic on the same OpnSense interface...
			
			
			
				What do you mean by: Did you take a look at the console when that happens? 
I setup my VLANs straight away. So unsure if it happens without. But all my traffic in gets tagged.
It was working fine for a week then this started happening
			
			
			
				I mean the OpnSense console (for a Netgate devices, it probably is via a serial connection). You might see some errors there that you cannot get via LAN (because that is not operational at the time this happens). You can also try if the system just freezes or experiences a panic.
			
			
			
				I see what you mean now. Where would I look for errors when in the console when this happens?
			
			
			
				First, you can see if the console reacts at all. Usually, you can see panics and unusual events right on the console, otherwise, you have the same menu that shows when you ssh into the box and show the logs if the machine is still alive. You can also start a shell and see if any (V)LANs still work or if only some are affected.
			
			
			
				Quote from: xhemal on Today at 12:14:56 AMAt random intervals my network seems to go down. I cannot access anything on LAN or WAN when this happens. but there is nothing in any logs to explain why this happens.
Access what from where? From what you write it seems like a client or switch issue ("cannot access anything on LAN or WAN"->not even local servers / printers)?
OPNsense does nothing on its LAN side except DHCP, DNS and such services, but cannot by itself block you from accessing other devices on your LAN, except if you use the OPNsense box as "switch" by bridging...
			
 
			
			
				I assumed OpnSense is the cnetral router that connects all VLANs and the WAN. So, I you say you cannot access anything at times without specifying what exactly works and what does not, it might be that it stops working altogether or that only the LAN interface goes down. From your connected workstation, both would look the same.
Therefore, I suggest you find out what works and what does not. Is it the OpnSense that fails completely because of a panic, a system freeze or because one of its interfaces goes down? Is the WAN working, but the switch or the cable linking to that is bad?
You will have to check to narrow down your problem - currently you only know that your "network seems to go down".