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

How to Bring up Secondary VNICs in an Oracle Cloud Infrastructure(OCI) Oracle Linux 7 Instance

edited Jun 30, 2022 1:56PM in Linux

How to add a secondary VNIC that is persistent through reboots in OL7 using systemd Unit File

1. Use the OCI Web Console to create and attach a secondary VNIC, see:

2. Create a directory and download the script:

# mkdir /opt/secondary_vnic

# cd /opt/secondary_vnic

# wget

# chmod u+x

3. Create the Unit File:

# vi /etc/systemd/system/secondary_vnic_all_configure.service

## Paste the below lines into the file.

Howdy, Stranger!

Log In

To view full details, sign in.


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