Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: NIC not found after removing for rhel 6 vm

$
0
0

+1 nielse and +1 gortee

 

edit /etc/udev/rules.d/70-persistent-net.rules

comment out all previous versions of eth0 (keep the one with the new MAC - you can check the MAC in vSphere VM settings)

Then you have the choice of editing the /etc/sysconfig/network-scripts/ifcfg-eth0 file directly if you know what you're doing (make sure ONBOOT=YES )

At minimum it should look like this:

DEVICE=eth0 
BOOTPROTO=none 
ONBOOT=yes 
NETWORK=10.0.1.0 
NETMASK=255.255.255.0 
IPADDR=10.0.1.27 
USERCTL=no

 

or by running 'system-config-network' and use the GUI

Make sure the NIC is set to connect at startup in VM settings...

Once configured, reboot the VM


There you should have your new NIC shown in ifconfig.


Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>