Containers can't ping the router

Aleandro

New Member
Apr 25, 2024
2
0
1
Hi, i just installed proxmox but i already faced an issue

This is my setup (everything is in local network):
Router: 192.168.178.1
Host: 192.168.178.100
Container 1: 192.168.178.101
Container 2: 192.168.178.102

The host has a perfect connectivity, but the containers can only ping the host and the other container (eg: Container 1 can ping both host and container 2 but can't ping router) (so it can't access to internet).


Host (the network interface physically connected to the router is enx9cebe80f40f0):
1714049246293.png


Container 1:
1714049395168.png


Container 2:
1714049431435.png



I also changed /proc/sys/net/ipv4/ip_forward to 1 in the host (i don't know if it's needed but it should help network traffic to flow (?))


Can anybody help? Thanks

(please ask if you need other commands output)
 
Is your PVE host using ethernet or wifi?
In case you used static IPs, did you make sure those are outside of your routers DHCP servers IP range?
 
Last edited:
Now it works, i suppose that is because when i changed /proc/sys/net/ipv4/ip_forward to 1 i didn't rebooted.

Now that i rebooted it works

Thanks anyway!