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

voarsh

Member
Nov 20, 2020
218
19
23
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!