VMSP virtual machine is failing to acquire an IP address on the network
search cancel

VMSP virtual machine is failing to acquire an IP address on the network

book

Article ID: 449457

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

VMSP virtual machine is failing to acquire an IP address on the network

Checking file /etc/systemd/network/10-eth0.network is owned by user other than systemd-network

Environment

VCF 9.1

Cause

Incorrect permissions are applied to /etc/systemd/network/10-eth0.network

Resolution

 

To resolve follow the steps below:

  1. Access the VMSP VM console directly via the vSphere Client.

  2. Validate the current file permissions and ownership of the network configuration file: ls -la /etc/systemd/network/10-eth0.network

  3. Modify the file permissions to ensure adequate read access for the network daemon (Standard permissions require 644): chmod 644 /etc/systemd/network/10-eth0.network

  4. Verify the file ownership is properly assigned (typically root:systemd-network): chown systemd-network:systemd-network /etc/systemd/network/10-eth0.network

  5. Restart the network daemon to reload the configuration file: systemctl restart systemd-networkd

  6. Confirm the IP address has been allocated and the interface is up: ip a show eth0