Hallo Zusammen,
ich habe ein Problem mit meinem Network Interface.
Dieses startet nicht ordnungsgemäß und meldet "RTNETLINK answers: File exists & ifup: failed to bring up eth0"
Ich kann keinerlei Beeinträchtigungen erkennen, jedoch stört mich natürlich die rote Fehlermeldung.
Bin schon kurz davor die Meldung einfach zu deaktivieren
Code
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-04-28 10:14:44 CEST; 3min 18s ago
Docs: man:interfaces(5)
Process: 1954 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 1954 (code=exited, status=1/FAILURE)
Apr 28 10:14:44 mail systemd[1]: Starting Raise network interfaces...
Apr 28 10:14:44 mail ifup[1954]: RTNETLINK answers: File exists
Apr 28 10:14:44 mail ifup[1954]: ifup: failed to bring up eth0
Apr 28 10:14:44 mail systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Apr 28 10:14:44 mail systemd[1]: networking.service: Failed with result 'exit-code'.
Apr 28 10:14:44 mail systemd[1]: Failed to start Raise network interfaces.
Alles anzeigen
ifconfig -a
Code
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 37.120.176.179 netmask 255.255.252.0 broadcast 37.120.179.255
inet6 fe80::9895:e2ff:fe0a:6ac7 prefixlen 64 scopeid 0x20<link>
inet6 2a03:4000:6:8431:9895:e2ff:fe0a:6ac7 prefixlen 64 scopeid 0x0<global>
ether 9a:95:e2:0a:6a:c7 txqueuelen 1000 (Ethernet)
RX packets 8727 bytes 1379332 (1.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2169 bytes 554193 (541.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 5137 bytes 844240 (824.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5137 bytes 844240 (824.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Alles anzeigen
/etc/network/interfaces
Code
# 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
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 37.120.176.179
gateway 37.120.176.1
iface eth0 inet6 static
address 2a03:4000:6:8431::1
netmask 64
gateway fe80::1
Alles anzeigen
/etc/network/interfaces.d/50-cloud-init.cfg
Code
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 37.120.176.179/22
gateway 37.120.176.1
iface eth0 inet6 static
address 2a03:4000:6:8431:9895:e2ff:fe0a:6ac7/64
gateway fe80::1
Der NIC ist richtig eingetragen "eth0".
Erfolg hat mir das ignorieren der Fehler via ifup --ignore-errors eth0 gebracht.
Anschließend konnte ich networking.service neu starten und er lief.
Beim nächsten Reboot aber wieder der gleiche Fehler
Leider bringt mich das große World-Wide-Web aktuell nicht weiter.