Internet keeps dropping every 8 hours

Started by EnzoX, July 21, 2024, 06:02:48 AM

Previous topic - Next topic
Hello!

I was wondering if someone could help me troubleshoot an issue I am having on a new router I just setup. This is my first time setting  up opnsense so if someone could help me or point me in the right direction I would appreciate that.

I just install opnsense 24.1 on a router that is directly connected to my ISP. I have a unifi switch which is connected to my router. I got everything setup and the network works great for about 8 hours then I lose connection with the Internet. I can ping everything in my network and the WAN IP address but not the WAN Gateway IP. If I unplug the WAN connection from the router and wait 10 seconds and plug it back in, everything works great for about another 8 hours.

Anyone have a similar issue or know some logs I can review to troubleshoot the issue?

What protocol does your ISP use? The most common one is PPPoE, in which case head over to Interfaces: Point-to-Point: Log File

I am not sure what protocol they use, all I know it's fiber to the house connected to a ONT box that runs the Ethernet to my router. When I checked the Point to Point log file, there is no results.

Quote from: EnzoX on July 21, 2024, 06:02:48 AM
I just install opnsense 24.1 on a router that is directly connected to my ISP. I have a unifi switch which is connected to my router. I got everything setup and the network works great for about 8 hours then I lose connection with the Internet. I can ping everything in my network and the WAN IP address but not the WAN Gateway IP. If I unplug the WAN connection from the router and wait 10 seconds and plug it back in, everything works great for about another 8 hours.

Quote from: EnzoX on July 21, 2024, 08:27:15 AM
I am not sure what protocol they use, all I know it's fiber to the house connected to a ONT box that runs the Ethernet to my router. When I checked the Point to Point log file, there is no results.

See the problem? If you set up the WAN connection, you must know how you got internet access: You WAN connection has to be configured somehow to get an IP. This can be PPPoE, DHCP, Static, PPP or other types. Just look.

I believe it could be DHCP and after 8 hours, the lease expires. Normally, your DHCP client will prolong that lease after half that time, but probably, that does not work for some reason.

Under System: Log Files: General, you will find log entries that give hints about what is going wrong. For example, the prolongations look like:

2024-07-21T10:11:10 Notice dhclient dhclient-script: Reason RENEW on igc99 executing
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+