VMware host profiles and IPv6
For a past day I tried to set up a host profiles to standardize ESXi deployment and I came across to problems to solve:
- When host profiles was applied, ESXi host lost completely it’s networking configuration (IP, management interfaces). I couldn’t restore networking from DCUI (error message: Management network interface cannot be found), the only way to restore functionality of DCUI was reset to default settings from DCUI.
- When hosts profiles was applied, ESXi host lost IP configuration and all option in DCUI to manage networking were greyed out the only way to restore networking configuration was to restore networking configuration via DCUI
Work around for first problem.
This problem was caused by IPv6. Disable IPv6 on host profile reference host, update host profile and problem solved.
Work around for second problem.
Problem comes fromVMware kernel assignment order. In my case in host profiles vMotion interface above management interface. Delete vMotion portgroup or any other portgroup which is before management portgroup and recreate it manually.
Make sure that vmknic name in management portgroup is set to vmk0