You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to Add an Additional Private IP to an Existing Interface using “nmcli”

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!