vCenter Server Appliance error : Setting ip/ipv6 configuration failed: IP Configuration not allowed
search cancel

vCenter Server Appliance error : Setting ip/ipv6 configuration failed: IP Configuration not allowed

book

Article ID: 379045

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Error Screenshot : 

The error mentioned above occurs in the following scenarios : 

  • Scenario 1 : While setting the default gateway from the console.
    • When vCenter is connected to a distributed portgroup and if the vCenter is unreachable over the network, the default gateway field might show up blank under "Configure Management Network" option. Trying to set the default gateway ends up in this error.

 

  • Scenario 2 : When attempting to change the IP address of the vCenter Server via Appliance Console.

Environment

VMware vCenter Server 6.x

VMware vCenter Server 7.x

VMware vCenter Server 8.x

Resolution




Note : Once the vCenter is recovered on a standard switch, the gateway should automatically appear in the console under "Configure Management Network," restoring the VM's network connectivity. If it does not, follow the steps outlined in Scenario 2



    • Scenario 2 : 

        • If the error occurs while trying to change the IP address/ Subnet Mask/ Gateway of the vCenter Server via Appliance Console, follow the below steps:

            1. From the VCSA console, press Alt+F1, log in using root credentials, and then type 
              shell

            1. Type the following command and hit Enter.
              /opt/vmware/share/vami/vami_config_net

            1. The following options will appear:

            1. To change the IP address/ Subnet of the vCenter Server Appliance, go for option 6.

            1. To change the Default Gateway of the vCenter Server Appliance, go for option 2.

            1. Hit Enter after every response until you see:
              Reconfiguring eth0...
              Network parameters successfully changed to requested values

            1. To confirm that everything has been set up correctly, you can go for option 0 to Show Current Configuration.




Additional Information