HRM appliance deployment uses a static IP, but the guest OS is defaulting to DHCP.
search cancel

HRM appliance deployment uses a static IP, but the guest OS is defaulting to DHCP.

book

Article ID: 420781

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • Health Reporting and Monitoring appliance deployment uses a static IP, but the guest OS is defaulting to DHCP.
  • During guest OS customization, the network is not configuring correctly; the VM, which was specifically configured with a static IP, is instead switching to DHCP.

Environment

VCF 5.x

Cause

  • During guest OS customization network config script fails.

Resolution

This issue can be resolved by any one of the following:

 

Manually configure the static network

  1. Create a snapshot of the VM.
  2. Connect to VM via webconsole/remoteconsole
  3. Login as admin user
  4. cd /etc/systemd/network/
  5. sudo mv ##-dhcp-en.network BY-##-dhcp-en.network
  6. sudo cat > ##-static-en.network << "EOF"
  7. sudo vi ##-static-en.network

    [Match]
    Name=eth0

    [Network]
    Address=#.#.#.#./#
    Gateway=#.#.#.#

  8. sudo chmod 644 ##-static-en.network
  9. sudo Systemctl restart systemd-networkd

Redeploy the appliance

  1. Redeploy the Health Reporting and Monitoring appliance
  2. Download Health Reporting and Monitoring ova
  3. Follow the procedure to deploy the ova -  Deploy Health Reporting and Monitoring VM