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:
Maybe I screwed up something, or this is a bug.
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