Losing WAN connection intermittently
-
@DaddyGo said in Losing WAN connection intermittently:
The solution was to set the interface speed negotiation from auto to fixed.
I trust you set it to fixed at both ends. You shouldn't set it to fixed at one end only. Also, this sounds a bit strange. The connection is negotiated only when the cable is plugged in or a device is turned on. If it happens at any other time, it would indicate a problem somewhere.
-
Well, it might very well be something the ISP is doing with the dynamic (but public) IP that I get from them, and that this does not work with pfsense for some reason. The ISP router/modem (in bridge mode) works, so whatever they are doing, their own hardware handles it fine.
My pfsense hardware is a dedicated machine only running pfsense, mini-itx board (MP-T3460-D2500CC), two ethernet ports I believe are Intel NICs. 4GB ram, 60 GB SSD, an additional PCI card with dual Intel NICs. This machine has been in use since 2013, and these problems started to occur this year.
Why does pfsense first make DHCPREQUEST to one address, but after a while changes to another?
-
@JKnott said in Losing WAN connection intermittently:
I trust you set it to fixed at both ends.
of course at both ends...
this is basically caused by the minimal incompatibility of the ethernet controllers
think of the great, super, frenetic Realtek miracles....
ok then:
so, we use a Raisecom GPON system to serve multiple of our customer
https://www.raisecom.com/product/gpon-sfu-ont-0this ONT miracle, equipped with a Realtek ethernet controlle and has compatibility issues with the Intel i210-AT controller
(so we either replace hundreds of ONTs or solve this issue as we can)
BTW:
anyway the ISCOM system is damn good just shit on the ONT theme
(of course, not all endpoints are Intel versus ONT Realtek eth.the above, was experimented with the manufacturer...
-
One would think that an Ethernet negotiation issue would cause a solid problem, not intermittent. Is there something triggering a disconnect/reconnect? Does the link show down? Also, an intermittent failure shouldn't cause DHCP problems, unless it's long enough for the lease to expire.
-
@comatose_tortoise said in Losing WAN connection intermittently:
Why does pfsense first make DHCPREQUEST to one address, but after a while changes to another?
Do you have a packet capture of the full DHCP sequence?
-
Ok, so now I changed the NIC for my WAN to one I know for sure is an Intel NIC.
@JKnott said in Losing WAN connection intermittently:
@comatose_tortoise said in Losing WAN connection intermittently:
Why does pfsense first make DHCPREQUEST to one address, but after a while changes to another?
Do you have a packet capture of the full DHCP sequence?
Nope, never done that. I'll try to look into it. But I guess I would need to do it at the exact moment the error occurs? Could be problematic due to the intermittent behavior.
-
I didn't see this mentioned or suggested yet, so I'll be that guy... you did check the cable between pfSense and the modem? If you have no way of checking it, replace it with a known good cable.
-
That depends on how you do it. If you use Packet Capture, it would be difficult to catch the first half, though you might be able to if you do a release/renew. The other way is to use a data tap, as I mentioned above, then reboot pfSense to get the initial sequence and as many renews as you want. One advantage of this method, using Wireshark, is you can watch what's happening, without stopping the capture. On the negative side, if it really is a NIC negotiation issue, this might mask it.
-
@JKnott said in Losing WAN connection intermittently:
Is there something triggering a disconnect/reconnect?
Who knows deeply the Realtek鈥檚 inner world?
The fact is, causes intermittent problems as we are already past this examination and I have read about similar problems in on the other forums.What do you think of a periodic heat run?
(since it starts with a significant packet loss and not basically with dhcp problem)something more came to mind because the ISP is not a god:
our other typical case is with Telecom (HU) ISP DOCSIS Cisco CMTS and edgeQAM, using the DHCP allocation method...
the problem is caused by the tightly configured Cisco IOS - Prerequisites for Cable DHCP Leasequery + DHCP MAC Address Exclusion List
the error phenomenon is very similar to the OP s issue
BTW:
-Raisecom replaced the ONT ethernet controller with i211 and all problems went away. -
@comatose_tortoise said in Losing WAN connection intermittently:
After this the gateway goes up and functionality is restored. As I said in the thread start, if I manually release and renew IP on WAN when I notice that I've lost internet connection, it does this last part immediately instead of waiting a long time before asking 255.255.255.255.
Any ideas on why this is? If I could just make renew IP on 255.255.255.255 as soon as WAN gateway goes down, the problem would be, if not solved, radically less severe.Hello!
Are the 10.x.x.x DHCP servers relays? Maybe they wont accept unicast dhcp request and require broadcasts?
https://forum.netgate.com/topic/112869/dhclient-on-wan-occasionally-fails-to-renew-lease-with-cable-isp
https://social.technet.microsoft.com/Forums/windows/en-US/69a3a8f6-8199-4f24-8d4a-a4b5a083176b/why-cant-windows-7-be-forced-to-use-dhcp-broadcast-lease-renewal
John
-
@serbus said in Losing WAN connection intermittently:
Maybe they wont accept unicast dhcp request and require broadcasts?
the problem is only intermittent, so it is not relevant
-
@DaddyGo said in Losing WAN connection intermittently:
What do you think of a periodic heat run?
That could be a possibility. I've seen stuff fail when it gets warm. Many years ago, I learned about some stuff called "Freeze Mist", which was handy for locating thermal problems. It was also useful for putting frost on a penny.
-
@JKnott said in Losing WAN connection intermittently:
@DaddyGo said in Losing WAN connection intermittently:
What do you think of a periodic heat run?
That could be a possibility. I've seen stuff fail when it gets warm. Many years ago, I learned about some stuff called "Freeze Mist", which was handy for locating thermal problems. It was also useful for putting frost on a penny.
A can of compressed air held upside down does the same thing. I think the "freeze mist" and compressed air are the same product with the can and labels flipped :)
-
@Raffi_ said in Losing WAN connection intermittently:
A can of compressed air held upside down does the same thing.
贸贸贸贸, the blessed physics and the expanding gases