I've been dealing with an extremely annoying issue plaguing my BGW620-700 gateway! For context, my gateway is running software version 5.40.4
The issue: I'm currently on 5Gbit service (Internet-5000) and was noticing random connection drops for 10-30 seconds, usually around once an hour. Additionally, I noticed very high latency - basically 20-40ms to hit anything past the gateway, which doesn't sound like a lot, but is pretty poor performance for fiber.
The gateway itself never went down during these drops (I could still ping it, reach the web UI, etc.) but the gateway would completely stop forwarding traffic out to the internet, and even stop forwarding packets between LAN clients. Basically, it would stop routing entirely.
The tl;dr solution: I did a million and one tests and the only thing I can figure is that it's an issue with the gateway's firmware or hardware. That being said, a reboot fixed the issue, which sucks lol.
First, how I found out the gateway was the cause of my issues:
I set up a script that pinged a bunch of different IPs all at once:
That way, I could see exactly what was dropping packets or going down -my computer, the gateway, the ISP router, or the public internet services.
(To get the IP of the device that was one hop past my gateway, I just did "tracert 1.1.1.1" and grabbed the IP after my gateway.)
I then ran this script on a desktop connected via ethernet and a laptop connected via WiFi. I set the first IP the script pings to be the other client (laptop pinging desktop, desktop pinging laptop) that way I could check routing between the LAN hosts as well.
I found that the gateway would intermittently stop forwarding basically any packets - any pings to the WAN would die (ISP equipment, 1.1.1.1, and 8.8.8.8 would all time out), any pings _between_ LAN equipment would die (the laptop couldn't ping the desktop, and vice-versa), but the gateway itself would remain reachable (each client could individually ping the gateway during the dropout).
The gateway's web UI also loaded perfectly fine during all of this, and I could navigate between pages, so the main processor doesn't seem like it was totally dead or stalled out. The device also never rebooted, it stayed fully up throughout all of these stalls.
Background to all of the tests I ran and the various things I checked:
Uptime: The gateway had around 18 days of uptime.
Diagnostics: I went to Diagnostics -> Troubleshoot -> Run Full Diagnostics in the gateway, but all four categories (Ethernet, Authentication, IP, and DNS) came back green with a "Pass".
Speed Test: I did a speedtest but was getting my full 5Gbit speed... just with random dropouts.
Firewall Logs: The "Logs" menu didn't show anything weird coming in from the WAN, just the usual 10-20 packets per minute being dropped by the default firewall rules.
NAT Table: I also suspected an overloaded NAT table, but when I first checked it, it only had 151 sessions in use with 8192 total sessions available. At its peak, I saw this number jump up to ~450 sessions in use, but still nowhere close to the 8192 max.
Broadband Status: It showed as "Line State: Up", current speed: 10000 Mbps, current duplex: full. GPON link status "OPERATION (O5)", UNI status "up".
Weird IPv6 Statistics
One thing I noticed on the Broadband -> Status page was extremely wack IPv6 statistics:
Having ~19,000 discarded IPv6 packets over the past ~18 days of uptime seemed extremely odd. This number also seemed to be going up as the gateway was running, so I googled around a bit.
I found reports online that there are issues with this gateway and IPv6. I was curious if that would fix my issue, so I disabled IPv6 in Home Network -> IPv6.
Unfortunately, I found out this setting is totally irrelevant to the stats I saw: The gateway itself uses IPv6 to connect to AT&T's upstream equipment and that functionality can't be disabled. The stats I saw on the Broadband Status page is also specifically for the gateway's own IPv6 traffic to the WAN, not about local LAN IPv6 networking. So, disabling IPv6 only disables it for your local home network. Even after a reboot, the gateway will still network with AT&T's equipment using IPv6.
Weirdly Low RX Power
The next weird thing I noticed was the weirdly-low RX power, listed on the fiber status page in Broadband -> Fiber Status. My stats were:
Temperature: 42.46
VCC: 3.37
TX Bias: 310.6
TX Power: 40.250
RX Power: 0.171
According to the alarms configured on that page, an RX Power of 0.171 should have tripped the low RX power alarm (the threshold is 0.500), but it was still set to 0.
I went through all of AT&T's diagnostics on their website and the gateway itself, but noting reported an issue with the connection, and the "alarm" on that page never triggered to show the RX power was below expected levels. I checked the fiber inside my house for kinks but didn't see any issues, so I guess this wasn't related to my issue.
I also checked the fiber status page which has a "last change" variable that is a unix epoch timestamp of when the fiber link last restarted. Mine had stayed the same throughout all of this, showing that the fiber link never restarted.
I'd still like to get in contact with AT&T about the weirdly-low RX power, but it ended up not being related to my issue (at least, as far as I can tell). So I continued on debugging:
WHAT NOW?!
At this point I had basically messed with every single option on the device and debugged everything I could, lol. It wasn't NAT, it wasn't the firewall, it wasn't IPv6 (or at least, the IPv6 I could touch), it wasn't overheating, it wasn't out of date, AT&T saw no issues, what the hell.
So in the end, I finally decided to reboot it. And who would have guessed, that fixed the issue!
My average ping times dropped like crazy:
On top of that, I let the script continue for ~12 hours, and the internet never dropped out during that time!
So, in this case, a reboot lowered ping times by a huge amount and stopped intermittent connection dropouts!
Unfortunately, this also means I have no idea what the original issue was, or if it will come back. My best guess is that it's something firmware related, since it seems to specifically be an issue with the gateway forwarding packets and even affects LAN <-> LAN traffic.
I figured reddit would be the best place to post this insane writeup because AT&T would probably tell me to screw off or just try to swap my gateway out without diagnosing the real issue, lol. Hopefully this post can be helpful to someone in the future, just like all of the other BGW620 threads I read on here during my debugging.
Anyways, that's all I've got! I'll probably make another post or comment here if this starts happening to me again in another ~2 weeks, we shall see. Maybe it's a memory bug or something on the gateway that happens every few weeks, not sure.
Totally unrelated aside/complaint:
This is just a silly complaint about some incorrect helptext on the gateway's Web UI.
On the Gateway's fiber status page, the help text that describes the "Last Change" variable describes it as this: "Last Change: Accumulated time in seconds since the optical interface entered its current state."
This would be impossible, considering the "Last Change" variable on my gateway is currently 1795591319, which would be ~56 years lol. But decoded as a unix timestamp, that perfectly works out to 2:21am my local time, which was exactly when I rebooted the gateway!!
So I think the helptext is wrong, and the "Last Change" variable is actually a unix epoch timestamp of the last change, NOT the number of seconds since the last change.
Not that important, but I figured someone might find that info useful. Maybe vantiva/at&t/commscope (whoever is responsible) will patch the helptext one day :p