VMware Cloud Community
SebastiaNet
Contributor
Contributor

network does not work

Good morning all.

We have a "client" Red Hat Linux 7.1 that says interface "eth0" is Up and Running, but the "ping" to the Default Gateway fails.

The "host" machine is a x3850-M2 with ESX v 4.0.1, and the vSphere Client displays the NIC as "100 Full", without the "red cross" indicating problems, as it does when we unplug the network cable.

My question is simple : is there any ( command line ) tool to display the status of the NIC from the ESX console ?

Or complementary : are there any logs in ESX to monitor for this client network problems ?

Thanks for any clue (as a pointer to a PDF or Web Page). Sebastian.

0 Kudos
5 Replies
vWhere09
Contributor
Contributor

this link might be useful for you

http://74.125.153.132/search?q=cache:mokHN240WDQJ:www.petri.co.il/5-critical-vmware-esx-cli-network-...NICcommandsintheESXconsole&cd=1&hl=en&ct=clnk&gl=in

cheers,

v

0 Kudos
SebastiaNet
Contributor
Contributor

Thanks, mr "V" - the commands are very interesting, of course.

But I guess I need some more light ....

I have moved the Virtual Machine to the VMNIC0 ... and it works ....

Back to VMNIC1 ... does not work

Now it seems thatl VMNIC1has never worked ....

What commands shall I use to display its configuration ?

Thanks. Sebastian.

0 Kudos
vWhere09
Contributor
Contributor

to view the status of the vmnic you can use the command

#esxcfg-nics -l (where -l isto list)

to change the IP of ur vmnic1 u can use the command

  1. ifconfig vmnic1 <IP Address> <Subnet mask>

in my case the entry for subnet mask was not correct so i changed the same using the command

  1. ifconfig vmnic1 netmask <subnet mask>

cheers,

v

0 Kudos
swiftangelus
Enthusiast
Enthusiast

Do you mean vmnic0 and 1 in VMware ESX rather than the VM?

Also if you move other VMs between the vmnics do they still work, eg a windows box, or is it just that VM?

0 Kudos
SebastiaNet
Contributor
Contributor

Hi, Swift Angelus - my VM did work when on NIC 0, and did not work on NIc 1,

and the reason is that NIC 1 was connected to a Cisco switch using a port that was on another VLAN.

So, all is solved now, thanks.

But I am still missing some command line commands to display why one NIC works and another does not ...

I guess I am searching for a LOG file on ESX telling all the events ...

Cheers. Sebastian.

0 Kudos