Problem with ETH hardware not seen

Reason 1 why you should give me some BitCoins... uuhhh, mmmh, uuuhh, mmmh...... If this helped you in any way and you have some spare BitCoins, you may donate them to me - 16tb2Rgn4uDptrEuR94BkhQAZNgfoMj3ug


ETH0 to ETH3 not recognized

NIC board was replaced on a HP DL380 server

Situation arise were the NIC board was replace and after the board was replaced, ETH0, ETH1, ETH2 and ETH3 were activated as ETH4, ETH5, ETH6 and ETH7. The problem is in /etc/udev/rules.d/70-persistent-net.rules where the new board was identified, but because the old board was still in the configuration, ETH0 to ETH3 were added as ETH4 to ETH7. To fix this, log into ILOM and note the MAC addresses of the NICs

Set the file the same, IE change the NAME="ethx" to the correct one and set the MAC addresses as per the ILOM printout. Comment the old board entries.

someserver:~ # cat /etc/udev/rules.d/70-persistent-net.rules
# 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.

# PCI device 0x14e4:0x1657 (tg3)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:76:8a:54:89:90", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" - Commented this

# PCI device 0x14e4:0x1657 (tg3)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:76:8a:54:89:92", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" - Commented this

# PCI device 0x14e4:0x1657 (tg3)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:76:8a:54:89:91", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" - Commented this

# PCI device 0x14e4:0x1657 (tg3)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:76:8a:54:89:93", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth3" - Commented this

# PCI device 0x14e4:0x1657 (tg3)
# Below is the new board settings, change the MAC address as per ILOM print, change 
the NAME="ethx" to correspond
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="ac:16:2d:70:11:4a", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x14e4:0x1657 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="ac:16:2d:70:11:4b", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x14e4:0x1657 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="ac:16:2d:70:11:49", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:0x1657 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="ac:16:2d:70:11:48", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
someserver:~ #

Reboot the server and make sure that the server is pingable afterwards

No comments:

Post a Comment

Note: only a member of this blog may post a comment.