No internet connection anymore and can't ping

I have recently installed TrueNAS Scale 24.10.1 and after initially installing some apps TrueNAS seems to have lost connection to the internet. Updates fail, fetching the app catalogue fails, and even pinging fails.

I have tried looking for solutions and making changes in my network but nothing helps. I originally set a static IP in my router and have tried going back to dynamic. I have restarted, reloaded configs, and re-installed. Reverting the config or re-installing doesn’t fix it so I assume it is something from my router.

If I clear the default gateway and namespaces they do get re-populated seemingly correctly and obviously the web UI still works. If I ping anything it never gets a packet returned.

Any help would be greatly appreciated as I fear I don’t have much hair left to pull out.

Sounds very familiar to me.

See if anything on my post is relevant or helps you fix:

At the very worst the output of

Ifconfig

And

Ip link

Will help confirm what could possibly be wrong. Sometimes I also notice that once gui is up, if everything is configured correctly but internet isn’t reachable, but router is, I make a random change in the network co fig, test it, undo it, and everything magicall works afterwards. Then I refresh app catelogue, unset app pool, set app pool, and life is good.

Thanks for the reply. Unfortunately my problem does not seem to be the same and is still ongoing. This is the output of ifconfig:

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.16.0.1  netmask 255.255.255.0  broadcast 172.16.0.255
        ether 02:42:54:7a:4b:57  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp11s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.36  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::365a:60ff:fe0b:b684  prefixlen 64  scopeid 0x20<link>
        inet6 fdc5:554b:c10d:352f:365a:60ff:fe0b:b684  prefixlen 64  scopeid 0x0<global>
        ether 34:5a:60:0b:b6:84  txqueuelen 1000  (Ethernet)
        RX packets 2943  bytes 458045 (447.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6573  bytes 6569073 (6.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 7421  bytes 4171536 (3.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7421  bytes 4171536 (3.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

This is the output of ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether **:**:**:**:**:** brd ff:ff:ff:ff:ff:ff
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:54:7a:4b:57 brd ff:ff:ff:ff:ff:ff

My network is extremely simple, no IPv6, default gateway is set to 192.168.2.1 which is the IP address of my router, and I let DHCP set everything.
I can ping the TrueNAS IP address from my other PCs on the network but can’t ping the router or other PCs from TrueNAS. It completely boggles my mind that I can access the web interface and make all these cahnges but pinging out just does not work for anything at all as if it is disconnected from the network.

You mentioned you don’t have ipv6, but your interface has it enabled:

 inet6 fe80::365a:60ff:fe0b:b684  prefixlen 64  scopeid 0x20<link>
        inet6 fdc5:554b:c10d:352f:365a:60ff:fe0b:b684  prefixlen 64  scopeid 0x0<global>

What happens if you go to networking, edit that interface & disable auto config ipv6? If it is already disabled, try toggling it.

If that STILL doesn’t get rid of it, then

ifconfig enp37s0 inet6 del ###copy/paste ipv6 here###

until you only have ipv4

I did try inspecting IPv6 configuration when I read through your other post. It didn’t help unfortunately. What is interesting is that not long after sending my last reply I decided to try setting a static IP but using a different address than what DHCP gave me. This somehow worked which makes me think the router I have is causing problems. I’ll look into replacing it probably.

1 Like