eth0がeth2にリネームされる現象をなんとかする

http://zephel.com/archives/2009/08/redhat_nic.html#a002629
udevのルールを書き、対処できるかどうかチャレンジ。MACアドレスを調べる方法は下記サイト参照。
【 ネットワーク・カードの動作状態を確認する 】 | 日経 xTECH(クロステック)
と、思っていたがすでにDebianにはルールのファイルがあるようだ。
http://tach.arege.net/trac/wiki/Debian/NetworkInterfaceName
自分のDebianは /etc/ude/rules.d/70-persistent-net.rules だった。

# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably 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 10ec:8139 (8139too)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:00:e2:67:9c:f6", NAME="eth0"

# FireWire host adapter 0001243001056be3 (/class/net/eth1)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:01:24:30:01:05:6b:e3", NAME="eth1"

# PCI device 0x10ec:0x8139 (8139too)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e2:67:9c:f6", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

↑これを次のように変更。

# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably 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 10ec:8139 (8139too)
#ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:00:e2:67:9c:f6", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e2:67:9c:f6", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# FireWire host adapter 0001243001056be3 (/class/net/eth1)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:01:24:30:01:05:6b:e3", NAME="eth1"

再起動してどうなったか見てみると

dmesg |grep eth
[ 9.497336] eth0: RealTek RTL8139 at 0xac00, 00:00:e2:67:9c:f6, IRQ 19
[ 9.546535] eth0: Identified 8139 chip type 'RTL-8139C'
[ 31.268290] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 41.552016] eth0: no IPv6 routers present