ESXi

 View Only
  • 1.  network does not work

    Posted Nov 26, 2009 11:58 AM

    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.



  • 2.  RE: network does not work

    Posted Nov 26, 2009 12:08 PM

    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-commands.htmNICcommandsintheESXconsole&cd=1&hl=en&ct=clnk&gl=in

    cheers,

    v



  • 3.  RE: network does not work

    Posted Nov 26, 2009 02:39 PM

    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.



  • 4.  RE: network does not work

    Posted Nov 27, 2009 05:33 AM

    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



  • 5.  RE: network does not work

    Posted Nov 27, 2009 03:42 PM

    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?



  • 6.  RE: network does not work

    Posted Nov 27, 2009 04:20 PM

    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.