Host Profiles : Number of network stack instances don’t match

Today was a nice and peaceful day onsite, until I had the “pleasure” to configure vSphere Host Profiles and getting all the hosts compliant. After battling with some PSP path selection “Compliance Failures” an annoying “Number of network stack instances don’t match” failure appeared.

Host Profiles

This is not the first time I got this failure and I knew how to solve it, but there is not much information online how you can solve it so I thought lets dedicate a small post about it.

The Host Profiles fix

First open a SSH connection to the reference host and run the following command :

Then open a SSH connection to the hosts that won’t get it and refuses to get compliant with the Host Profile and run the last command show above again. Compare the two results, if it is correct there is another netstack shown on the not compliant host. Write down the netstack name and run the following command :

After this go back to the vSphere Host Profiles and click on “Check Profile Compliance”, the host should be “Compliant” when the check is completed!


Enjoy! 🙂

Marco van Baggum

Marco works as a Staff Consulting Architect at VMware. Want to learn more about Marco? Check out Marco's About page.

One thought to “Host Profiles : Number of network stack instances don’t match”

  1. I had a similar issue on some hosts in our environment.
    Using your esxcli command listed here, I found that there was actually a netstack missing from the list.

    It would show up properly in the web client though.

    To fix the issue, I edited the existing netstanc instance, and removed changed the advanced setting “Max. number of connections” form 11000 to 10999, saved, then changed it back to normal and saved again.

    now with “esxcli network ip netstack list” all 3 netstack instances show up as normal, and the host profile checks as compliant.

    I do wonder what caused the default ‘Provisioning’ netstack to drop off the host though…

    Thanks for the tip!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.