Situation
Ich habe heute in meinem Storage-Server eine Dual-Netzwerkkarte durch eine Quad-Netzwerkkarte ersetzt. Nachdem ich den Server wieder eingebaut und gestartet hatte, konnte ich diesen über das Bonding Interface nicht mehr erreichen. Da ich bei einem anderen System früher einmal die Schnittstelle anpassen musste, wusste ich das es auf dem System irgendwo die Datei persistent-net.rules gibt und in dieser die Netzwerkkarten (Mac Adressen) den Schnittstellen zugeordnet ist. Ein kurzer Blick in diese Datei über die ILO brachte die Lösung:
cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x8086:0x10c9 (igb)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:6a\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth4\"
# PCI device 0x10ec:0x8168 (r8169)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:b4\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth2\"
# PCI device 0x10ec:0x8168 (r8169)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:44\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth1\"
# PCI device 0x10ec:0x8168 (r8169)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:b5\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth3\"
# PCI device 0x10ec:0x8168 (r8169)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:43\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth0\"
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x10c9 (igb)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:6b\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth5\"
# PCI device 0x108e:0xabcd (niu)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:12\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth6\"
# PCI device 0x108e:0xabcd (niu)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:11\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth7\"
# PCI device 0x108e:0xabcd (niu)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:13\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth8\"
# PCI device 0x108e:0xabcd (niu)
#SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"4b:42:00:00:00:10\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth6\"
To view this entry in full, you must be a customer of Securebit AG. You can order any product from our range.
If you are already a customer, you can log in
here.