If you are encountering issues with static IP configuration on the OpsRamp Gateway, follow these steps to manually configure and verify network settings. This process ensures that the network configuration is correctly applied and persists after reboots.
- Login to the Gateway using
ruser
. - Take the root access:
- Switch to root by running the command:
- Enter the password when prompted.
- Configure the network settings:
- Navigate to the network configuration directory:
- Check the current network configuration by displaying the contents of the configuration file:
- Ensure that all required network settings are present in the output from the above command.
- If any configurations are missing, update the network settings using the admin login.
- Delete all unnecessary files from
/etc/netplan
except00-installer-config.yaml
. - To disable automatic DHCP IP updates by cloud-init, run the following commands:
- To apply the network configuration changes manually, run the following command:
- Verify the IP address using following command.
- Verify the network configuration by rebooting the VM.