[SOLVED] ip route add default via (gone after LXC reboot)

voarsh

Active Member
Nov 20, 2020
218
20
38
28
Suddenly my LXC's (on one node) lost their networking.

I checked /etc/network/interfaces and any change was overridden.

I set the DNS up in proxmox, no change.

If I do: ip route add default via - followed by the gateway all is fine, but after a reboot it is gone.

I don't know why this is happening, all proxmox nodes are fine though.


ip route show
192.168.100.0/24 dev eth0 proto kernel scope link src 192.168.100.160
-
It should be 192.168.100.1

Strangely, LXC's that are ubuntu based have no problem (on the same node), debian LXC's seem to have the problem.
 
Last edited: