VMware vSphere

 View Only
  • 1.  two networks showing on vm when only one nic installed.

    Posted Aug 28, 2013 10:36 AM

    Hi,

    I’ve got a VM which use to have two nics, one nic was on vm
    network one vlan 20 and the other was on vm network two vlan 21, one of the
    nics was disabled. I have now removed one of the nic’s but when I look at the
    standard switch it is still showing the vm to be on both networks. If I look at
    the  summary of the vm it also appears
    that it is in two networks. This is when viewed for VI client connected to
    vcenter. If I connect to the host which the vm is running from then everything
    is showing correctly, one nic in one network.

    Any ideas how to correct this when viewed from vcenter?



  • 2.  RE: two networks showing on vm when only one nic installed.

    Posted Aug 28, 2013 01:16 PM

    May be close the session and re-login? maybe the database hasn't got updated.



  • 3.  RE: two networks showing on vm when only one nic installed.

    Posted Aug 28, 2013 01:50 PM

    Either

    A) Restart the management agents on the ESXi host as per http://kb.vmware.com/kb/1003490

    or

    B) Remove the VM from Inventory and re-add it by browsing to the VMX file on the datastore

    or

    C) Reload the VM from the ESXi shell as explained here http://kb.vmware.com/kb/1026043

    Any of the above should fix VM config inconsistencies between vCenter and hosts like you're seeing. A vMotion might work too, but I'm not entirely sure.



  • 4.  RE: two networks showing on vm when only one nic installed.
    Best Answer

    Posted Aug 28, 2013 07:45 PM

    If the VM has active snapshots, the deleted virtual network adapter will show up until you delete the snapshot. The reason for this is that ESXi has to remember the "old" configuration, in case you decide to revert to a snapshot which still had the second NIC in use.

    André



  • 5.  RE: two networks showing on vm when only one nic installed.

    Posted Aug 29, 2013 07:50 AM

    The VM had a snapshot, thanks for all the good advice much appreciated.



  • 6.  RE: two networks showing on vm when only one nic installed.

    Posted Jul 03, 2017 01:09 PM

    good answer.