maxs97
21.02.15, 23:37
Hey, tut mir leid. Aus irgend einem Grund hatte ich noch im Kopf das es um eine VM geht.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address HAUPT-IP
netmask 255.255.255.0
network HAUPT-IP.0
broadcast HAUPT-IP.255
gateway HAUPT-IP.254
iface eth0 inet6 static
address HAUPT-IPv6
netmask 64
post-up /sbin/ip -family inet6 route add HAUPT-IPv6 dev eth0
post-up /sbin/ip -family inet6 route add default via HAUPT-IPv6
pre-down /sbin/ip -family inet6 route del default via HAUPT-IPv6
pre-down /sbin/ip -family inet6 route del HAUPT-IPv6 dev eth0
auto eth0:0
iface eth0:0 inet static
address FAILOVER-IP1
netmask 255.255.255.255
auto eth0:1
iface eth0:1 inet static
address FAILOVER-IP2
netmask 255.255.255.255
auto eth0:2
iface eth0:2 inet static
address FAILOVER-IP3
netmask 255.255.255.255
auto eth0:3
iface eth0:3 inet static
address FAILOVER-IP4
netmask 255.255.255.255
running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
root@XXXXXXXX:~# service networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up eth0.
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
done.
ifdown eth0 && ifup eth0
root@XXXXXXXXX:~# service networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up eth0.
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
done.
"Hallo, über die Failover-IP XX.XXX.XXX.XXX Ihres Servers nsXXXXXXX.ip-XXX-XXX-XXX.eu wird eine unverhältnismäßig große Anzahl an Suchanfragen auf dem Netzwerk ausgeführt. Dies hängt mit der Konfiguration Ihrer Failover-IP zusammen."
auto eth0:0
allow-hotplug eth0:0
iface eth0:0 inet static
address XX.XXX.XXX.XXX
network 255.255.255.255
auto eth0:1
allow-hotplug eth0:1
iface eth0:1 inet static
address XX.XXX.XXX.XXX
network 255.255.255.255
auto eth0:2
allow-hotplug eth0:2
iface eth0:2 inet static
address XX.XXX.XXX.XXX
network 255.255.255.255
auto eth0:3
allow-hotplug eth0:3
iface eth0:3 inet static
address XX.XXX.XXX.XXX
network 255.255.255.255
root@nsXXXXXXX:~# service networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...
RTNETLINK answers: File exists Failed to bring up eth0.
RTNETLINK answers: File exists
RTNETLINK answers: File exists
done.