Sudden lock up after reboot
-
+1 to Gertjan's comment - all your interfaces must be in different subnets.
-
Well I had WAN in 255.255.255.0 subnet and LAN in 255.255.0.0
It was working well for 2 weeks with many reboots in between :-\ After changing LAN address to 192.168.2.1 the box became accessible again.Thanks for the quick reply!
-
So, your LAN network was 192.168.x.x and your WAN 192.168.1.x - that won't work either. You have to ensure that the subnets are different. If you switched your LAN to 192.168.2.1 make sure you also changed the netmask to 255.255.255.0 (aka /24).
-
So, your LAN network was 192.168.x.x and your WAN 192.168.1.x
Thats correct.
If you switched your LAN to 192.168.2.1 make sure you also changed the netmask to 255.255.255.0 (aka /24).
Why can't I keep netmask 255.255.0.0 (aka /16)?
-
Can I gently suggest you read up on how subnet masks and routing work.
192.168.1.z/24 is a subnet of 192.168.x.y/16. This means that any host on the /16 network will assume that the /24 network is local to it and will not use the default gateway.
-
That's my bad indeed.
The "knowledge" I thought having is compromised. I shouldn't take for granted informations from a person which teaches networking without checkings the validity of it… :-\No more stupid questions from me for a while.
-
The only stupid questions are the ones you don't ask. It's better to find out what you don't know than to blunder around in ignorance ;)
(Also known as, nobody knows everything and there's always something you thought you knew that you had wrong)
-
It seems that it's a bit more difficult issue than I thought.
I'm having very limited time to access the box on it's physical location so I just tried few things and it didn't seem to work very well.
I set up the LAN to 192.168.2.1/24
I could access it from my computer only when setting manually my IP within the IP range of my DHCP server on pfsense. Choosing the automatic IP configuration on the PC caused the box beeing pingable but not accessible via WebGUI. Another thing is that with the same settings on the WAN side I could not access my gateway (PPPoE modem) nor I was able to connect to the internet through the pf box. Checking the DHCP leases on the box showed that the clients had the IPs assigned but as I mentioned before they could only ping the pfsense - no connectivity with internet or with WebGUI.Tomorrow I will try from scratch with 1.2.3 version (current one is 1.2.2).
Ones it's up and running I will setup the system log so to be able to give more informations in case of further obstacles.
Thanks for the replies so far guys!
-
Do you have multiple devices doing DHCP? When you configure the client for DHCP, check to see what IP range the lease is in and what the default gateway is.
-
I replicated the same exact setup after installing pfsense 1.2.3 and it seems work well. I guess there was some error in system files since the box was shut down few times not properly - just guessing.