Ich habe scheinbar leider Probleme bei der IP-Konfiguration unter Debian 13.
Informationen aus dem SCP:
Haupt-IPv4: 159.195.21.159/22, Haupt-IPv4-Gateway: 159.195.20.1
Haupt-IPv6: 2a0a:4cc0:c1:3af3::/64, Haupt-IPv6-Gateway: fe80::1
Failover-IPv4: 152.53.173.31/32, Failover-IPv4-Gateway: 159.195.21.159
Failover-IPv6: 2a03:4000:20:316::/64, Failover-IPv6-Gateway: 2a0a:4cc0:c1:3af3:68ac:c4ff:fea8:91db
Eine mögliche /etc/network/interfaces hätte ich wie folgt zusammenkopiert:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 159.195.21.159/22
gateway 159.195.20.1
iface eth0 inet6 static
address 2a0a:4cc0:c1:3af3::2/64
gateway fe80::1
auto eth0:1
iface eth0:1 inet static
address 152.53.173.31/32
gateway 159.195.21.159
iface eth0:1 inet6 static
address 2a03:4000:20:316::2/64
gateway fe80::1
Alles anzeigen
Unter /etc/network/interfaces.d/50-cloud-init.cfg wäre ursprünglich noch das Folgende vorhanden:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 159.195.21.159/22
gateway 159.195.20.1
iface eth0 inet6 static
address 2a0a:4cc0:c1:3af3:68ac:c4ff:fea8:91db/64
gateway fe80::1
Alles anzeigen
Selbst wenn ich die /etc/network/interfaces.de/50-cloud-init.cfg entferne erhalte ich trotzdem folgenden Fehler beim Versuch die Netwerk-Dienst neu zu starten:
Nov 05 22:05:45 server.lchosting.de ifup[2722]: Error: ipv4: Address already assigned.
Nov 05 22:05:45 server.lchosting.de ifup[2697]: ifup: failed to bring up eth0
Nov 05 22:05:45 server.lchosting.de ifup[2736]: Error: ipv4: Address already assigned.
Nov 05 22:05:45 server.lchosting.de ifup[2697]: ifup: failed to bring up eth0:1
Nov 05 22:05:45 server.lchosting.de systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Lasse ich /etc/network/interfaces.d/50-cloud-init.cfg unverändert und das Gateway der Failover-IPv6 auf fe80::1 eingestellt, dann gibt es folgende Fehler:
Nov 05 22:31:19 server.lchosting.de ifup[1205]: Error: ipv4: Address already assigned.
Nov 05 22:31:19 server.lchosting.de ifup[816]: ifup: failed to bring up eth0
Nov 05 22:31:19 server.lchosting.de ifup[1229]: Error: Nexthop has invalid gateway.
Nov 05 22:31:19 server.lchosting.de ifup[816]: ifup: failed to bring up eth0:1
Nov 05 22:31:19 server.lchosting.de systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE