VMware Server虚拟机改网卡MAC地址(Oracle RAC ..
时间:2010-09-06 来源:simingshui
今天在虚拟机装ORACLE RAC环境的过程中,从rac1 copy所有文件到rac2,启动rac2后,发现网卡的物理地址
无法改动,点击probe也是无法探测改变,这样一来就和rac1冲突了,无法使用。
后来这样手工修改,就是用文本编辑器打开rac2目录下的rac1.vmx,改动下列粗体部分即可:
uuid.location = "56 4d a1 bc 49 b3 6f bb-27 0f 56 83 73 1e 4e 3e"
uuid.bios = "56 4d 9b f5 bf 62 36 eb-a1 90 be 7f ca b3 72 4e"
vc.uuid = "52 73 ab d1 ab e2 09 ee-89 1a 3f 45 52 53 a7 56"
ethernet0.generatedAddress = "00:0c:29:b3:72:4e"
ethernet1.generatedAddress = "00:0c:29:b3:72:58"
重新启动rac2后,进行网卡激活,完成。
[root@rac2 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:B3:72:4E
inet addr:134.98.83.222 Bcast:134.98.83.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feb3:724e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3215 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:258281 (252.2 KiB) TX bytes:936 (936.0 b)
Interrupt:5 Base address:0x2424
eth1 Link encap:Ethernet HWaddr 00:0C:29:B3:72:58
inet addr:10.10.10.32 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x24a4