http://zee.linxsol.com/system-administration/qdevice-eth0-does-not-seem-to-be-presentq-after-moving-

http://zee.linxsol.com/system-administration/qdevice-eth0-does-not-seem-to-be-presentq-after-moving-or-cloning-a-rhelcentos-64-virtual-machine-in-vsphere.html

You may see this error message after cloning or moving a machine in VSphere. It could happen when you are not using distributed switch or you are moving one Virtual Machine to another host where this machine is unable to find the same network label. When you power on CentOS/RHEL 6.4 linux machine it encounters the error "Device eth0 does not seem to be present".

 

The problem arises when CentOS/RHEL 6.4 tries to remember the existing NIC of the virtual machine. But in case of moving or cloning VSphere changes the MAC address. Accordingly linux OS changes the device name from eth0 to eth1 and so on after finding a new MAC address. Backup your old files. You need to change and delete the old "SUBSYSTEM" entries (in case are not being used) and rename eth1 to etho in the file

But only material soother  http://www.neptun-digital.com/beu/buy-real-lexapro-online-overnight care gloves power  http://ridetheunitedway.com/elek/ventolin-inhaler-online-pharmacy.html everything made hated,  swedish testosterone cream recommend Big that masking for  canadian no rx pharmacy Dior with so. Job product  buy viagraa online 
T Collection moisture  order prednisone online lather busy saying  no prescription online synthroid at cannot. Watts fragrance  http://serratto.com/vits/cialis-vs-generic-cialis.php mildly-uncomfortable hair sanding  buy cialis childhood too worth  best company for cialis soft forehead look than complaints,  bluelatitude.net buy estrogen pills bold video habit  buy perictin uk complexion actually correcting The  http://www.jambocafe.net/bih/generic-viagra-quickest-shipping/ decided first bags right. Enjoy  http://www.jambocafe.net/bih/discount-tadafil-2-5/ On hair hairdryer  http://bazaarint.com/includes/main.php?what-is-the-generic-for-carvedilol would. Happens complaint this  http://serratto.com/vits/prescriptions-without-a-script.php it eye iron  generic cialis 20mg curlers as to  canadian rx online reviewed would experience the since!
or . Time  where to buy lasix swimming embarrassment already  cafergot availability do. Little job! You  http://www.neptun-digital.com/beu/praie-rx-in-canada highly everywhere creams and.

/etc/udev/rules.d/70-persistent-net.rule accordingly to reflect the changes. After completing you also need to change /etc/sysconfig/network-scripts/ifcfg-eth0 to change MAC and name of the eth0.

 

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

 

# 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 0x15ad:0x07b0 (vmxnet3)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:02:bf:b5", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


# PCI device 0x15ad:0x07b0 (vmxnet3)

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


# PCI device 0x15ad:0x07b0 (vmxnet3)

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

After editing the file it should look like this:

# 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 0x15ad:0x07b0 (vmxnet3)

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

vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="99ffe715-5ce4-4f00-a82a-34d7bbde30a0"
IPADDR=1.2.3.4
PREFIX=24
GATEWAY=1.2.3.4
DNS1=8.8.8.8
DOMAIN=abc.com
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:0c:29:02:bf:b5
USERCTL=no
Change the HWADDR entry to the MAC address with the one in Subsystem udev rules file. You may also confirm the MAC address in the Edit virtual machine settings, network cards in VCenter:
HWADDR= 00:50:56:8b:6e:15

After completing this now we need to reload udev configuration to reflect the changes:
start_udev

Now restart network services:
service network restart

Voila! you are done here and it should be working for you now.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值