OCI: How to Add an Additional Private IP to an Existing Interface using “nmcli”
in Linux
Applies To
Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 9 and later
Goal:
This document outlines the steps required to add an additional Private IP to an existing interface using nmcli. It is assumed that the Instance already has the IP assigned to the primary vnic.
Solution:
With Oracle Linux 9, there is no longer the option to configure network interfaces using the ifcfg-iface scripts, however, information in the /etc/sysconfig/network-scripts remain operative, and modifications to existing profiles continue to update the older files.
This document will use “nmcli” to configure the interface.
Tagged:
0