Lokeshaggarwal's DBA

Live the life you love. Love the life you live

oifcfg


allocating and deallocating network interfaces, get values from OCR

To display a list of networks
oifcfg getif
eth1  10.0.2.0  global  cluster_interconnect
eth0  10.0.1.0.  global  public

display a list of current subnets
oifcfg iflist
etho  10.0.1.0
ethl  10.0.2.0

To include a description of the subnet, specify the -p option:
oifcfg iflist -p
ethO  10.0.1.0  PRIVATE
ethl  10.0.2.0 PRIVATE

In 10.2 public interfaces are UNKNOWN.
To include the subnet mask, append the -n option to the -p option:
oifcfg if list -p -n
etho  10.0.1.0  PRIVATE  255.255.255.0
ethl  10.0.2.0 PRIVATE   255.255.255.0

Advertisements

November 23, 2010 - Posted by | RAC

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: