I have a small home lab with three nodes. The hosts are pve1, pve2, pve3.
The problem is that I have an ubuntu container on pve3 that is having network(?) issues. This just started happening recently, I'm not sure why.
What I know:
1. I can reliably access the container shell from the pve3 web GUI
2. I can only SSH into the container right after it boots, and only once. After that I get "No route to host" errors.
3. I cannot ping 1.1.1.1
4. I cannot ping the gateway
ip route show
systemctl status networkd-dispatcher.service networking.service network-online.target network-pre.target network.target | cat
These are the warnings and errors I found since the last boot (journalctl --boot=0)
I'm not sure what to look at next?
The problem is that I have an ubuntu container on pve3 that is having network(?) issues. This just started happening recently, I'm not sure why.
What I know:
1. I can reliably access the container shell from the pve3 web GUI
2. I can only SSH into the container right after it boots, and only once. After that I get "No route to host" errors.
Code:
ssh: connect to host 192.168.1.57 port 22: No route to host
3. I cannot ping 1.1.1.1
Code:
# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
From 191.168.1.57 icmp_seq=1 Destination Host Unreachable
4. I cannot ping the gateway
Code:
# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 191.168.1.57 icmp_seq=1 Destination Host Unreachable
ip route show
Code:
default via 192.168.1.0 dev eth0 proto static
191.168.1.0/24 dev eth0 proto kernel scope link src 191.168.1.57
192.168.1.0 dev eth0 proto static scope link
systemctl status networkd-dispatcher.service networking.service network-online.target network-pre.target network.target | cat
Code:
Unit networking.service could not be found.
* networkd-dispatcher.service - Dispatcher daemon for systemd-networkd
Loaded: loaded (/lib/systemd/system/networkd-dispatcher.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-06-12 15:55:44 UTC; 2min 42s ago
Main PID: 105 (networkd-dispat)
Tasks: 1 (limit: 77000)
Memory: 10.1M
CPU: 79ms
CGroup: /system.slice/networkd-dispatcher.service
`-105 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
Jun 12 15:55:44 ubuntucont systemd[1]: Starting Dispatcher daemon for systemd-networkd...
Jun 12 15:55:44 ubuntucont networkd-dispatcher[105]: No valid path found for iwconfig
Jun 12 15:55:44 ubuntucont networkd-dispatcher[105]: No valid path found for iw
Jun 12 15:55:44 ubuntucont systemd[1]: Started Dispatcher daemon for systemd-networkd.
* network-online.target - Network is Online
Loaded: loaded (/lib/systemd/system/network-online.target; static)
Active: active since Mon 2023-06-12 15:57:44 UTC; 42s ago
Docs: man:systemd.special(7)
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
Jun 12 15:57:44 ubuntucont systemd[1]: Reached target Network is Online.
* network-pre.target - Preparation for Network
Loaded: loaded (/lib/systemd/system/network-pre.target; static)
Active: active since Mon 2023-06-12 15:55:44 UTC; 2min 43s ago
Docs: man:systemd.special(7)
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
Jun 12 15:55:44 ubuntucont systemd[1]: Reached target Preparation for Network.
* network.target - Network
Loaded: loaded (/lib/systemd/system/network.target; static)
Active: active since Mon 2023-06-12 15:55:44 UTC; 2min 42s ago
Docs: man:systemd.special(7)
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
Jun 12 15:55:44 ubuntucont systemd[1]: Reached target Network.
These are the warnings and errors I found since the last boot (journalctl --boot=0)
Code:
Jun 12 16:49:19 ubntu systemd-networkd[91]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted
Jun 12 16:49:19 ubntu systemd-networkd[91]: /etc/systemd/network/eth0.network:8: DHCP=v6 is deprecated, please use DHCP=ipv6 instead.
Jun 12 16:49:19 ubntu rsyslogd[106]: imklog: cannot open kernel log (/proc/kmsg): Permission denied.
Jun 12 16:49:19 ubntu rsyslogd[106]: activation of module imklog failed [v8.2112.0 try https://www.rsyslog.com/e/2145 ]
Jun 12 16:49:31 ubntu login[115]: pam_systemd(login:session): Failed to create session: Seat has no VTs but VT number not 0
Jun 12 16:51:19 ubntu systemd-networkd-wait-online[99]: Timeout occurred while waiting for network connectivity.
Jun 12 16:51:19 ubntu systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 16:51:19 ubntu systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Jun 12 16:51:19 ubntu systemd[1]: Failed to start Wait for Network to be Configured.
Jun 12 16:51:33 ubntu [407]: Critical: libusb_init failed
I'm not sure what to look at next?
Last edited: