VMware Cloud Community
Bluemoon404
Enthusiast
Enthusiast
Jump to solution

two networks showing on vm when only one nic installed.

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?

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

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é

View solution in original post

5 Replies
abhilashhb
VMware Employee
VMware Employee
Jump to solution

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

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

Reply
0 Kudos
MKguy
Virtuoso
Virtuoso
Jump to solution

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.

-- http://alpacapowered.wordpress.com
Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

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é

Bluemoon404
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos
ping2san
Contributor
Contributor
Jump to solution

good answer.

Reply
0 Kudos