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, and change only the value of the NAME= key.
# PCI device 0x8086:0x100f (e1000)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:89:35:77", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" #ここを網掛け
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:89:35:7b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" #eth1→eth0に変更
service network restartでは設定が反映いされない為、サーバー自体を再起動を実施します。
コメント