Failed to set network while upgrading vCenter Server Appliance from 6.5 U1 to 6.7 U2
search cancel

Failed to set network while upgrading vCenter Server Appliance from 6.5 U1 to 6.7 U2

book

Article ID: 307177

calendar_today

Updated On: 05-26-2025

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Failed to set network during upgrade of VCSA from 6.5 U1 to 6.7 U2.


Environment

VMware vCenter Server Appliance 6.7.x / 7.x

Cause

The issue occurs when there is a stale / duplicate entry in 10-etho.network.

Resolution

To solve this issue:

1. Take a SSH session to the vCenter
2. enable shell
3. navigate to /etc/systemd/network/10-eth0.network
4. The 10-eth0.network file should look like the sample shown below:
---------------------------------------------------------------------------
[Match]
Name=eth0

[Network]
Gateway=192.168.0.1
Address=192.168.0.45/24
DHCP=yes
DNS=192.168.0.10
Domains=example.com

[DHCP]
UseDNS=false
10-eth0.network 

--------------------------------------------------------------------------------------

5. In case the Domains field has a stale or duplicate entry other than the domain name of your vCenter then correct it to the right value.
    Eg: Domains=example.com example.com   change this to Domains= example.com 
6. Retry / restart the upgrade from stage 2 and the upgrade would bypass the network test as the mismatch of the domain name is corrected.