ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 11gR1 RAC安装过程中遇到的问题:网卡的设备名

Oracle 11gR1 RAC安装过程中遇到的问题:网卡的设备名

原创 Linux操作系统 作者:cow977 时间:2012-04-06 12:19:05 0 删除 编辑

1)第二个虚拟机第一次启动后网络设备名改变的问题:

第二个虚拟机第一次启动后,检查网络设备,发现名称不是RAC1机的eth0eth1,而变为了eth2eth3。检查发现在/etc/udev/rules.d/70-persistent-net.rules文件中,名称为eth0eth1的对应了原RAC1机的MAC地址,多出了名称为eth2eth3的几行,对应的MAC地址正是RAC2机的现在的网卡的MAC,修改eth0eth1的地址为新MAC地址,并删除eth2eth3的行,重启系统后,名称恢复正常。

# 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 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:86", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

 

# PCI device 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:85", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

 

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:98", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

 

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:97", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

修改为:

# 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 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:98", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:56:97", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/81227/viewspace-721514/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-03-02

  • 博文量
    629
  • 访问量
    683783