Adds a static or dynamic network. If your server connects to more than one network, then you can use this command to configure an additional network interface for Oracle RAC, allowing you to create VIPs on multiple public networks. You can also use the LISTENER_NETWORKS
database initialization parameter to control client redirects to the appropriate network
Note:
This command is only available with Oracle Clusterware.
Oracle only supports DHCP-assigned networks for the default network, not for subsequent networks.
Use the srvctl add network
command with the following syntax:
srvctl add network [-netnum net_number] -subnet subnet/netmask[/if1[|if2|...]] [-nettype {static | dhcp | autoconfig | mixed}] [-leaf] [-pingtarget "ping_target_list"] [-verbose]
Table A-13 srvctl add network Parameters
Parameter | Description |
---|---|
-netnum net_number |
Specify a network number. The default is 1. |
-subnet subnet/netmask [/if1[|if2|...]] |
Defines a subnet. If you do not specify any interface names, then the network uses any interface on the given subnet. For IPv6, |
-nettype {static|dhcp|autoconfig|mixed} |
Specify the network type: If you specify If you specify If you specify If you specify |
-leaf |
Specify the |
[-pingtarget "ping_target_list"] |
Specify a comma-delimited list of IP addresses or host names to ping. |
-verbose |
Verbose output. |
On Linux and UNIX systems, you must be logged in as root
and on Windows, you must be logged in as a user with Administrator privileges to run this command.