Hosts report a non-compliance for the setting /profile/esx/network/vmknics/0/ip/ipv6/dhcp_dns with error Peer dns of ipv6 is required when ipv6 is enabled on vmko.
search cancel

Hosts report a non-compliance for the setting /profile/esx/network/vmknics/0/ip/ipv6/dhcp_dns with error Peer dns of ipv6 is required when ipv6 is enabled on vmko.

book

Article ID: 395491

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESX 8.x

Issue/Introduction

Unable to get a configuration profile compliant in a cluster with hosts running on ESXi version 80U3 even when IPV 6 is disabled. 

Environment

VMware vSphere ESXi 8.x

Cause

When IPv6 is disabled on the host, it should directly save Ipv6 related configuration of vmknic in configstore for the profile setting: /profile/esx/network/vmknics/0/ip/ipv6/dhcp_dns.

Resolution

  • Take an ssh connection to affected Host.
  • Run the command: configstorecli config current set -c esx -g network -k vmknics -i vmk0 -p /ip/ipv6/dhcp_dns -v false
  • Reboot the host.
  • Once the reboot is completed, in the vSphere, Go to the Cluster> Configure> Desired state> Configuration and discard any existing configuration.
  • Create a new configuration in reference to the Host and the compliance check should be successful. 

Additional Information

On the host, you can run this command "configstorecli config current get -c esx -g network -k vmknics" to see the contents of DB.