...
Troubleshooting Network Problems
If you do not see an interface called eth0 when you run The most common problem is with how CentOS 6 handles interface discovery, it wants to hang onto MAC addresses which of course in a virtual environment you want managed by the Hypervisor.
Run the command "ifconfig -a", the result should look like this:
Code Block |
---|
[root@nmis64 ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0C:29:E8:CF:F9 inet addr:192.168.1.42 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: 2001:470:1f05:5a0:20c:29ff:fee8:cff9/64 Scope:Global inet6 addr: fe80::20c:29ff:fee8:cff9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6640287 errors:0 dropped:0 overruns:0 frame:0 TX packets:4282058 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:974072080 (928.9 MiB) TX bytes:606513312 (578.4 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2337305 errors:0 dropped:0 overruns:0 frame:0 TX packets:2337305 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:371309377 (354.1 MiB) TX bytes:371309377 (354.1 MiB) |
...
If you do not see an interface called eth0 then run this command and reboot your VM.
Code Block |
---|
rm -f /etc/udev/rules.d/70-persistent-net.rules
reboot |
Load NMIS in your browser
...