My Oracle Support Banner

How to Calculate the Correct Subnet For an Interface (Doc ID 1059759.1)

Last updated on SEPTEMBER 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Goal

How to calculate the correct subnet to use in oifcfg, etc.

oifcfg requires you to enter the subnet used for public and cluster_interconnect networks.
However, ifconfig usually shows the IP and the netmask, but not the subnet.
This note will show how to determine the subnet to be used with oifcfg.
More generally, it also applies to the general question of determining the subnet for a given interface, given the IP address and netmask.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.