Vmware vmnic0 detected no link

Hi,
i set up an ESX server and everything was just great till i went to the configuration and i changed the speed of the vmnic0 from 100 to 1000 mbps. Since then i cannot ping the server and when i run the ethtool but is shows on the vmnic0 that no light detected, When i physically check the server the light is on (on the nic card) but when the kernel loads the light goes off.
I tried to change the speed manually via ethtool -s vmnic0 speed 100 duplex full
but it did not do the trick..
Any ideas ?
c_hocklandAsked:
Who is Participating?
 
predragpetrovicConnect With a Mentor Commented:
Hi,

The command you need is:

[root@vmware5 root]# esxcfg-nics -l
Name    PCI      Driver      Link Speed    Duplex Description                  
vmnic1  04:00.00 bnx2        Up   1000Mbps Full   Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-SX
vmnic0  06:00.00 bnx2        Up   1000Mbps Full   Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-SX

So the syntax is:

esxcfg-nics -a vmnicX

where you can replace X with the vmnic number (vmnic1 or 0)

[root@vmware5 root]# esxcfg-nics
esxcfg-nics <options> [nic]
   -s|--speed <speed>      Set the speed of this NIC to one of 10/100/1000/10000.
                           Requires a NIC parameter.
   -d|--duplex <duplex>    Set the duplex of this NIC to one of 'full' or 'half'.
                           Requires a NIC parameter.
   -a|--auto               Set speed and duplexity automatically.  Requires a NIC parameter.
   -l|--list               Print the list of NICs and their settings.
   -r|--restore            Restore the nics configured speed/duplex settings (INTERNAL ONLY)
   -h|--help               Display this message.

So you can try variances. Hope that this helps.

Predrag
0
 
tlrjohnCommented:
You show that you changed the speed to 100mbps, setting it to full duplex.  Does the device you have this NIC plugged into support Full-duplex?  Can you post the output from Ethtool?  What distro of Linux are running as the Guest?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.