Quick Summary:
About 6-8 weeks ago, I started experiencing random, intermittent, network connection problems on my primary machine running Xubuntu 24.04.4 LTS (fully patched). Prior to that there were no network issues. I'm unsure whether an automatic software update is responsible, but when I ping a site, for example the Google DNS server (8.8.8.8), I can do this for a while with no problem and then I will start having problems reported as either:
ERROR: unknown host: 8.8.8.8
ERROR: host unreachable: 8.8.8.8
The first message seems to indicate a DNS problem while the second indicates a network failure after DNS lookup.
Many programs experience the underlying problem. A periodic fetchmail frequently reports "Network is unreachable." and the Firefox browser runs into the problem frequently with all sorts of sites, reporting "Unable to connect. Firefox can't establish a connection to the server at ...". A retry to connect may or may not work immediately, but eventually the connection is made, so the interruption is always temporary.
The Details:
I have two machines running Ubuntu 24.04.4 that are wired up to my LAN identically, going through two 2.5 Gb switches to my cable modem with 2+ Gb network connection (Comcast/Xfinity). I mention this because the Asus laptop with a minimal desktop Xubuntu installation does not exhibit any of these network problems no matter how much I stress it, while my recently built primary desktop machine had Ubuntu 24.04.3 server edition installed and then had all the xfce4 packages added and patches to bring it up to Xubuntu 24.04.4. There were no problems until recently. I switched the network cable from the box to the first link and tried different link ports, with no improvement. I also ran a cable directly from the desktop LAN port to the cable modem and the problem continued. The point being that I've ruled out the cable and link infrastructure as a source of the problem.
One difference between the two machines is that the laptop is using NetworkManager while the desktop is using netplan, although no network changes have been made since the initial OS installation months ago.
On the laptop:
# cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
On the desktop:
# cat /etc/netplan/50-cloud-init.yaml
network:
version: 2
ethernets:
eno2np1:
addresses:
- "10.10.10.5/24"
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
- 68.87.85.98
search: []
routes:
- to: "default"
via: "10.10.10.1"
eno3np0:
addresses:
- "10.10.10.101/24"
bridges:
br0:
dhcp4: no
interfaces:
- eno3np0
addresses:
- "10.10.10.101/24"
I started running traceroute to monitor the problem. Here are some typical runs:
# traceroute -I 8.8.8.8
traceroute to dns1 (8.8.8.8), 30 hops max, 60 byte packets
1 * * *
2 10.60.128.74 (10.60.128.74) 15.541 ms 16.265 ms 16.503 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 15.257 ms 15.748 ms 16.001 ms
4 po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 15.293 ms 23.264 ms 23.527 ms
5 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 23.337 ms 23.382 ms 23.452 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 25.065 ms 9.915 ms 10.001 ms
7 * * be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 18.210 ms
8 be-2311-pe11.seattle.wa.ibone.comcast.net (96.110.32.234) 19.345 ms 19.412 ms 12.947 ms
9 * * *
10 142.251.229.135 (142.251.229.135) 20.564 ms 19.183 ms 19.208 ms
11 142.251.50.243 (142.251.50.243) 17.435 ms 8.547 ms 7.155 ms
12 dns1 (8.8.8.8) 12.729 ms 12.475 ms 14.468 ms
OK. I get many successful runs with the route varying, but ultimately reaching the Google DNS server.
# traceroute -I 8.8.8.8
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 7.004 ms 7.019 ms 7.010 ms
2 10.60.128.74 (10.60.128.74) 17.428 ms 10.60.128.75 (10.60.128.75) 17.367 ms 17.307 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 17.334 ms po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 17.342 ms po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 17.441 ms
4 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 26.412 ms 26.539 ms po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 17.229 ms
5 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 26.679 ms 26.919 ms 26.790 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 28.248 ms * 20.988 ms
7 be-2311-pe11.seattle.wa.ibone.comcast.net (96.110.32.234) 20.659 ms * be-36121-cs02.seattle.wa.ibone.comcast.net (68.86.93.5) 10.571 ms
8 * be-2412-pe12.seattle.wa.ibone.comcast.net (96.110.34.142) 18.732 ms *
9 * * 192.178.105.141 (192.178.105.141) 12.144 ms
10 dns1 (8.8.8.8) 20.175 ms 192.178.105.141 (192.178.105.141) 21.594 ms 108.170.255.179 (108.170.255.179) 21.473 ms
Another successful one using the -I switch.
# traceroute -I 8.8.8.8
traceroute -I 8.8.8.8
connect: Permission denied
And a failed one.
% traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
connect: Permission denied
And another.
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 1.788 ms * *
2 10.60.128.74 (10.60.128.74) 13.039 ms 19.790 ms 20.026 ms
3 po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 19.860 ms po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 20.052 ms 19.910 ms
4 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 19.965 ms po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 19.827 ms 19.861 ms
5 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 21.550 ms 21.394 ms po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 19.899 ms
6 be-36111-cs01.seattle.wa.ibone.comcast.net (68.86.93.1) 21.384 ms be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 19.659 ms be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 12.720 ms
7 be-36121-cs02.seattle.wa.ibone.comcast.net (68.86.93.5) 12.614 ms
connect: Permission denied
Got a bit further here.
# traceroute -T 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 1.896 ms 2.233 ms 2.343 ms
2 10.60.128.74 (10.60.128.74) 16.115 ms 16.142 ms 16.144 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 16.025 ms po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 16.018 ms 16.055 ms
4 po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 16.034 ms * *
5 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 26.857 ms 26.942 ms po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 25.476 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 26.937 ms * *
7 be-2412-pe12.seattle.wa.ibone.comcast.net (96.110.34.142) 29.945 ms be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 16.345 ms *
8 be-2212-pe12.seattle.wa.ibone.comcast.net (96.110.34.134) 16.184 ms * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Timed out on this one.
So my question is whether this could still be a local problem or does it look like something going wrong on the Comcast WAN. I replaced the cable modem with no improvement, and a reliable Comcast technician has checked the service to my cable modem and says that it looks good. This, and the fact that the laptop never shows any network problem leads me back to the desktop software and/or configuration.
Sorry for all the information, but I wanted to share what I had done so far. Any insights into the possible problem or suggestions of additional test to run would be greatly appreciated.
Regards.
About 6-8 weeks ago, I started experiencing random, intermittent, network connection problems on my primary machine running Xubuntu 24.04.4 LTS (fully patched). Prior to that there were no network issues. I'm unsure whether an automatic software update is responsible, but when I ping a site, for example the Google DNS server (8.8.8.8), I can do this for a while with no problem and then I will start having problems reported as either:
ERROR: unknown host: 8.8.8.8
ERROR: host unreachable: 8.8.8.8
The first message seems to indicate a DNS problem while the second indicates a network failure after DNS lookup.
Many programs experience the underlying problem. A periodic fetchmail frequently reports "Network is unreachable." and the Firefox browser runs into the problem frequently with all sorts of sites, reporting "Unable to connect. Firefox can't establish a connection to the server at ...". A retry to connect may or may not work immediately, but eventually the connection is made, so the interruption is always temporary.
The Details:
I have two machines running Ubuntu 24.04.4 that are wired up to my LAN identically, going through two 2.5 Gb switches to my cable modem with 2+ Gb network connection (Comcast/Xfinity). I mention this because the Asus laptop with a minimal desktop Xubuntu installation does not exhibit any of these network problems no matter how much I stress it, while my recently built primary desktop machine had Ubuntu 24.04.3 server edition installed and then had all the xfce4 packages added and patches to bring it up to Xubuntu 24.04.4. There were no problems until recently. I switched the network cable from the box to the first link and tried different link ports, with no improvement. I also ran a cable directly from the desktop LAN port to the cable modem and the problem continued. The point being that I've ruled out the cable and link infrastructure as a source of the problem.
One difference between the two machines is that the laptop is using NetworkManager while the desktop is using netplan, although no network changes have been made since the initial OS installation months ago.
On the laptop:
# cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
On the desktop:
# cat /etc/netplan/50-cloud-init.yaml
network:
version: 2
ethernets:
eno2np1:
addresses:
- "10.10.10.5/24"
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
- 68.87.85.98
search: []
routes:
- to: "default"
via: "10.10.10.1"
eno3np0:
addresses:
- "10.10.10.101/24"
bridges:
br0:
dhcp4: no
interfaces:
- eno3np0
addresses:
- "10.10.10.101/24"
I started running traceroute to monitor the problem. Here are some typical runs:
# traceroute -I 8.8.8.8
traceroute to dns1 (8.8.8.8), 30 hops max, 60 byte packets
1 * * *
2 10.60.128.74 (10.60.128.74) 15.541 ms 16.265 ms 16.503 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 15.257 ms 15.748 ms 16.001 ms
4 po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 15.293 ms 23.264 ms 23.527 ms
5 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 23.337 ms 23.382 ms 23.452 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 25.065 ms 9.915 ms 10.001 ms
7 * * be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 18.210 ms
8 be-2311-pe11.seattle.wa.ibone.comcast.net (96.110.32.234) 19.345 ms 19.412 ms 12.947 ms
9 * * *
10 142.251.229.135 (142.251.229.135) 20.564 ms 19.183 ms 19.208 ms
11 142.251.50.243 (142.251.50.243) 17.435 ms 8.547 ms 7.155 ms
12 dns1 (8.8.8.8) 12.729 ms 12.475 ms 14.468 ms
OK. I get many successful runs with the route varying, but ultimately reaching the Google DNS server.
# traceroute -I 8.8.8.8
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 7.004 ms 7.019 ms 7.010 ms
2 10.60.128.74 (10.60.128.74) 17.428 ms 10.60.128.75 (10.60.128.75) 17.367 ms 17.307 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 17.334 ms po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 17.342 ms po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 17.441 ms
4 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 26.412 ms 26.539 ms po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 17.229 ms
5 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 26.679 ms 26.919 ms 26.790 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 28.248 ms * 20.988 ms
7 be-2311-pe11.seattle.wa.ibone.comcast.net (96.110.32.234) 20.659 ms * be-36121-cs02.seattle.wa.ibone.comcast.net (68.86.93.5) 10.571 ms
8 * be-2412-pe12.seattle.wa.ibone.comcast.net (96.110.34.142) 18.732 ms *
9 * * 192.178.105.141 (192.178.105.141) 12.144 ms
10 dns1 (8.8.8.8) 20.175 ms 192.178.105.141 (192.178.105.141) 21.594 ms 108.170.255.179 (108.170.255.179) 21.473 ms
Another successful one using the -I switch.
# traceroute -I 8.8.8.8
traceroute -I 8.8.8.8
connect: Permission denied
And a failed one.
% traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
connect: Permission denied
And another.
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 1.788 ms * *
2 10.60.128.74 (10.60.128.74) 13.039 ms 19.790 ms 20.026 ms
3 po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 19.860 ms po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 20.052 ms 19.910 ms
4 po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 19.965 ms po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 19.827 ms 19.861 ms
5 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 21.550 ms 21.394 ms po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 19.899 ms
6 be-36111-cs01.seattle.wa.ibone.comcast.net (68.86.93.1) 21.384 ms be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 19.659 ms be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 12.720 ms
7 be-36121-cs02.seattle.wa.ibone.comcast.net (68.86.93.5) 12.614 ms
connect: Permission denied
Got a bit further here.
# traceroute -T 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 router (10.10.10.1) 1.896 ms 2.233 ms 2.343 ms
2 10.60.128.74 (10.60.128.74) 16.115 ms 16.142 ms 16.144 ms
3 po-59-rur301.bellevue.wa.seattle.comcast.net (68.86.97.221) 16.025 ms po-59-rur302.bellevue.wa.seattle.comcast.net (68.86.113.49) 16.018 ms 16.055 ms
4 po-2-rur302.bellevue.wa.seattle.comcast.net (69.139.161.118) 16.034 ms * *
5 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 26.857 ms 26.942 ms po-300-xar02.bellevue.wa.seattle.comcast.net (68.86.96.157) 25.476 ms
6 be-300-arsc1.seattle.wa.seattle.comcast.net (24.124.128.89) 26.937 ms * *
7 be-2412-pe12.seattle.wa.ibone.comcast.net (96.110.34.142) 29.945 ms be-36131-cs03.seattle.wa.ibone.comcast.net (68.86.93.9) 16.345 ms *
8 be-2212-pe12.seattle.wa.ibone.comcast.net (96.110.34.134) 16.184 ms * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Timed out on this one.
So my question is whether this could still be a local problem or does it look like something going wrong on the Comcast WAN. I replaced the cable modem with no improvement, and a reliable Comcast technician has checked the service to my cable modem and says that it looks good. This, and the fact that the laptop never shows any network problem leads me back to the desktop software and/or configuration.
Sorry for all the information, but I wanted to share what I had done so far. Any insights into the possible problem or suggestions of additional test to run would be greatly appreciated.
Regards.

