トップ 一覧 ping 検索 ヘルプ RSS ログイン

CentOS eth0が認識されないの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!!CentOS eth0が認識されない
[CentOS]

*http://mukaer.com/archives/2012/08/21/centosniceht0/

 # vi /etc/udev/rules.d/70-persistent-net.rules 

*SUBSYSTEMから始まり、NAME="eth0"で終わる行をコメントアウト
*SUBSYSTEMから始まり、NAME="eth1"で終わる行のeth1を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.
 
 # net device ()
 # SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:00:0e:15", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
 
 # net device ()
 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:01:11:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"