Proxmox spontaneously restores old network configuration

Genk

New Member
Dec 26, 2024
1
0
1
Hi I have a problem with Proxmox network settings, I want to have the host_system behind a vlan. So I followed the manual, but on the initial install, I have a default installation, since I can't set the vlan settings during the initial install.
The host system can be reached under 192.168.0.129, with these settings in /etc/network/interfaces:

auto lo
iface lo inet loopback
iface enp10s0f0np0 inet manual
iface enp5s0 inet manual
iface enp10s0f1np1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.129/24
gateway 192.168.0.1
bridge-ports enp10s0f0np0
bridge-stp off
bridge-fd 0

source /etc/network/interfaces.d/*


this works as expected..
Then I change above settings with the ones here below, basically followed the manual, this works fine, without reboot and ifreload -a, now I can reach host on my vlan under 90.1.50.17:

auto lo
iface lo inet loopback
iface enp10s0f0np0 inet manual
iface enp5s0 inet manual
iface enp10s0f1np1 inet manual
auto vmbr0.90
iface vmbr0.90 inet static
address 90.1.50.17/24
gateway 90.1.50.1
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp10s0f0np0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094


although on the screen where i did ifreload -a, this new address is not shown, still the old 192.168.0.129. So everything seems to work fine, however if I do a restart, I get the first settings back (showing old IP where host can be accessed)?? and I can't access the host anymore, the only way to get out of this is with a reinstall, applying the 2nd settings doesn"t work in this case.
Anyone knows why this happens ?, if my 2nd settings work, forget the original settings, seems to be a case of trying to help the user (restore old settings), but not in this case.
One weird thing, when i look with ip -br a, before the reset,
I see vmbr0 doesn"t have an IPv4 address, but it has a IPv6 address.
vmbr0.90 does have the correct IPv4 address and an IPv6 address, before I do the restart, after restart the interfaces files contains the 2nd settings, but can"t reach the host anymore and the screen shows my host can be found at 192.168.0.129.
A few years ago this was a reason for me to move to XCP-ng, then as well the host seems to easily lose its connection to its host IP which happened a few times, which drived me nuts.

One other thing, this I am doing on a spare server, I have a main server where something like this happens, this server is not reachable anymore, but the vms on it are still running fine and reachable (also on vlans). So before I start molesting the main server, I want to know what is going on and how to really fix it and not within some weeks loose access to this server again.
 
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!