[#1134] Mehrere IP-Adressen pro Container

blu3bird

Active Member
Sep 29, 2016
15
2
43
30
Hi,

Entweder ist das ein Bug oder es ist so gewollt.

Und zwar, wenn ich einem Container eine zweite IP zuteile, bringt er das Interface bei einem Neustart nicht online.

Das Problem liegt hierbei aber an IPv6.
Sobald ich der zweiten Netzwerkkarte keine IPv6 zuteile, sondern nur eine IPv4 wirft er den Error "
Failed to bring up eth1 (missing address)"

auto eth1
iface eth1 inet6 static <- *

iface eth1 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.255

Der markierte Part * ist somit falsch, weil dem interface keine Ipv6 zugewiesen wurde und somit die nötigen Parameter fehlen (address, netmask, gateway) (und dies auch nicht gewollt ist)

Eventuell kann man im GUI eine Option hinzufügen, ob man für das jeweilige Interface IPv6 aktivieren möchte oder nicht.

Ich musste die Zeile nun manuell auskommentieren, damit das Interface beim Start aktiv wird.
 
Bitte erstellen Sie eine Bug report auf bugzilla.proxmox.com (mit genauer CT configuration die den Fehler auslöst).
 
Wäre sehr nett wenn ihr den Bug schnellstens behebt. Ist für uns auch sehr wichtig. Sind gerade beim Umstellen sehr vieler Server auf LXC.
vielen Dank.
 

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!