トップ 差分 一覧 ping ソース 検索 ヘルプ PDF RSS ログイン

CentOS eth0が認識されない



目次



記事一覧

キーワード

CentOS eth0が認識されない

[CentOS]


# 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"



YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto

Copyright© 矢木 浩人 All Rights Reserved.