Internet disconnection: Due to modem-router or pfSense?
-
Hello.
I have installed pfSense since many months.
My modem-router is Bridged.
Public Ip is direct on pfSense.
Since one week, I've got a lot of Internet disconnections - re-connections.
My problem is how to know if it's due to pfSense or it's due to the Modem-router ( or the provider ).
I rebooted both many times. Each time I reboot one or the other, connection is fine.
Does anyone can help me to make the diagnostic?
And if it's due to pfSense, can anyone help me to fix this problem?My pfSense is installed on an HP 400 ProDesk G1 and I add 2 TP-Link net card.
Thanks in advance.
-
If your ISP router has more than 1 port plug into it when you have the problem to see if you can connect to the internet. That will show you which one is the issue.
-
Or if you have a switch laying around, put it in between the modem/router and the pfSense box so the pfSense box always has link.
-
Hi AndyRH, hi mer .
Thanks a lot for your help.The modem router has four ports plug.
But, as it's bridged, only one is available. The three others are off.Even if they were not off, only one computer can be connected.
Because the modem is bridged, if more than one computer is connected, nothing works.
Then including with a switch, it's not possible to share the plug.I'm following your good advises.
I unplug pfSense from the modem-router and I plugged a computer to this modem-router, setting to the computer the IPv4 public address, the mask, the gateway and two DNS servers.
Else, it can't work.
Nothing is working if everything is setting as automatic.To not have to wait in front of the computer, I wrote a little program in Linux which pings all the time a server. It's recording the time and the duration when the ping is not working ( = internet cut ).
Now, I'm waiting for the results.
The bad thing making that, is that all my other devices are not connected on Internet. Nobody can access to my web site, and I can't access to my servers.
I would like to have another solution without unplugging anything, and to diagnose if the problem comes from pfSense or the modem router.
Like that, all my devices stay connected to Internet.Any idea to make the diagnostic without unplugging anything?
Last thing:
While I wrote the previous text, I could see that there were two internet cuts in 18 minutes:
One cut of 34 seconds, the second of 57 seconds.But, I would like something who can verify the troubles, at the same time for both, pfSense AND the modem-router.
Thanks for your next ideas and acknowledgments.
-
@fredordetre My reason for adding a switch between the two is that way the link to the pfSense box should never go down unless the switch is powered down, and the link from the modem should never see it go down. You can still leave just one thing plugged in so you don't violate anything on the ISP side.
pfSense has a "dpinger" feature (at least it used to I think it still does) that I think does the same thing (ping something external to your network, like say google DNS), results wind up in the system logs somewhere.
-
Hi Mer.
I did what you said. Unsuccessful.
But now, I have the - stupid - solution.
Until last December, Internet link was ADSL.
Provider changed it for optical fibre.In the office of the provider, they create a new profile for my optical fibre... and they forgot to delete the ADSL profile, which was not available.
The line suffered connections and disconnections because their servers switched all the time from the ADSL profile to the optical profile.
Then, pfSense and the modem-router bridged were not the problem.
Stupid, isn't it?
-
@fredordetre Wow. That is incredible. It's also proof that sometimes the root cause is out of our control and you just need to get someone to actually listen to what you are trying to tell them.
Glad it got figured out.