Ethernet NIC cannot access internet

I have Fedora silverblue 37. I set it up with some apps in Docker, and some dev tools in toolbox. It is running on an Intel chipset device. Initially, I had configured Fedora with the inbuilt wifi, and all was good. On the weekend, I plugged in the ethernet cable and expected it to work, but it did not. After some searching, the one thing that did get the ethernet connected was this:

sudo nmcli connection add type ethernet ifname enp1s0 con-name my-ethernet

The device is headless, so I Switched the ssh connection to the IP of the cabled ethernet NIC. All good. I then removed the “/etc/NetworkManager/system-connections/<>.nmconnection” file so that wifi was no longer used.

The trouble is, while the Fedora Silverblue device can access anything in my network, and all other devices in the network can access it, the Fedora Silverblue device cannot access the internet. All other devices can access the internet without trouble.

DNS is supplied by two local servers running Pihole, and I have confirmed that DNS is good.

As a test, I just try to ping 8.8.8.8. No reply.

The firewall logs show nothing:
journalctl -u firewalld --since “10 minutes ago”

Also, I did stop the firewalld service and tried, and restarted it, just to rule that out.

Sometimes, having the wrong time and/or timezone can cause internet issues, so I confirmed that is all correct.

I did notice that there were two files in “/etc/NetworkManager/system-connections”
my-ethernet.nmconnection
enp1s0.nmconnection

Inside “enp1s0.nmconnection”, the autoconnect was set to false. I do not know why. So I removed that autoconnect false, saved it, and deleted the my-ethernet, and restarted the NetworkManager service.

None of that helped.

ip route reports:
default via 10.10.10.1 dev enp1s0 proto dhcp src 10.10.10.33 metric 20100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
10.10.10.0/24 dev enp1s0 proto kernel scope link src 10.10.10.33 metric 100

The metric on the default is pretty high, but not sure that should be an issue?

Looking at the NetworkManager logs, it has a lot of lines about my wifi NIC, scanning and disconnecting, but nothing on the ethernet connection.

I am not sure what the issue is or how to fix it. Any help will be greatly appreciated. I am new to Fedora, only installed it about 8 days ago. It has actually been fairly easy, but this has me completely stumped.

Restart the service to make sure the settings are in sync, create a new connection, remove unrelated ones, and collect the diagnostics:

sudo systemctl restart NetworkManager.service
sudo nmcli connection add type ethernet connection.id ether
sudo nmcli connection up id ether
sudo nmcli connection delete id my-ethernet
sudo nmcli connection delete id enp1s0

nmcli general status; nmcli connection show
PAGER= nmcli connection show id ether
ip address show; ip route show table all; ip rule show; ip -6 rule show
tracepath -n -m 10 1.1.1.1; tracepath -n -m 10 8.8.8.8
resolvectl --no-pager status; resolvectl query example.org

Thanks for the reply Vladislav. I did get it working today, but am not sure which change had the effect. I had to reboot the router for it to come good, but I had rebooted the router earlier multiple times without any benefit. I had regularly rebooted the Fedora PC, and also restarted the Network Manager service. I did learn a lot about where the networking logs are, where the firewall logs are, and how to change a lot of the networking config in Fedora, so there was that positive.

Thanks

1 Like