eth2になる
M/Bを交換したら、ネットワークインターフェースがeth2に成る。調べてみると以下のようになっていて、
$ dmesg
udev: renamed network interface eth0 to eth2
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rule written by anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:yy:zz:ww:vv:uu", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:yy:zz:ww:vv:uu", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:yy:zz:ww:vv:uu", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:yy:zz:ww:vv:uu", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
このままでも支障は無いが、eth0に戻したい場合は[ 70-persistent-net.rules ]を削除( バックアップは取って置いて下さい )後に再起動すると、[ 70-persistent-net.rules ]が新規に再作成されるので、eth0に設定される。再作成時には、無くなったネットワークインターフェースは記載されないので、内容もスッキリした状態になる。
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:yy:zz:ww:vv:uu", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
/sbin/chkconfig NetworkManager off
/sbin/chkconfig network on
/sbin/chkconfig network off
/sbin/chkconfig NetworkManager on