Removing container IP on the GUI does not update the /etc/network/interfaces file - one WAN IP keepalived setup

Swfty

Member
Jan 23, 2021
20
2
8
Germany - Hungary
swifty.hu
I was just playing with 3 cts and a keepalived "network" between them.

First, I have added two networks/interfaces to each container, with public IPs on one and private IPs on the other one.
My plan was to do the VRRP communication on the private interface and bring up the WAN IP dynamically on the public side.

After a few tries, I finally managed to remove the "extra" WAN IPs and do the dynamic IP magic. At least I have changed the keepalived config file.
But when I tried to delete the previously set public IPs from the containers through the GUI, nothing changed in the /etc/network/interfaces file. (Inside the container.)

After that I have edited the file, it looks like this:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet static
    address 100.100.100.251/24
Maybe I screwed up something, or this is a bug.
 

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!