Oracle Linux – How to Configure a Secondary VNIC (add IP Address)
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Oracle Linux 7 – Oracle Linux 9.
Goal:
Configure an IP address to a secondary VNIC
Solution:
Disclaimer, every MAC/IP address shown here was temporary to write down this how-to.
They are no longer valid or available
Refer to the official documentation in order to create and attach a secondary VNIC:
At OS Level, execute below commands (as root user)
Identify the new VNIC
$ ip a show enp1s0 3: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 02:00:17:02:58:ce brd ff:ff:ff:ff:ff:ff ß NO IP ADDRESS inet6 fe80::17ff:fe02:58ce/64 scope link noprefixroute valid_lft forever preferred_lft forever
Tagged:
0