Solved

Vmware vmnic0 detected no link

Posted on 2007-12-05
2
3,754 Views
Last Modified: 2008-02-01
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 ?
0
Comment
Question by:c_hockland
2 Comments
 
LVL 3

Expert Comment

by:tlrjohn
ID: 20415408
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
 
LVL 9

Accepted Solution

by:
predragpetrovic earned 500 total points
ID: 20415504
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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question