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)"
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.
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.