Use the odacli create-network command to create a network.
Syntax
To create a network:
odacli create-network -n network interface name -p IP address -w [Public|Private|Dataguard|Backup|Other] -s network subnet mask -g network gateway [-h]
Parameters
| Parameter | Description |
|---|---|
|
|
Identifies the default network. |
|
|
Defines the network gateway |
|
|
Defines the name of the network interface. |
|
|
Defines the network IP address. |
|
|
(Optional) Displays JSON output. |
|
|
Defines the type of network. Options are: [Public|Private|Dataguard|Backup|Other] |
|
|
Defines the Network Subnet Mask. |
|
|
(Optional) Displays help for using the command. |
Usage Notes
Use this command to create an additional network not done in create-appliance.
You are only allowed to create a network on the bond interface.
Example 9-15 Creating a Network
The following example creates a new network, sfpbond1, with IP address 192.0.2.15. The network is an additional network that uses subnet mask 255.255.255.0 and gateway 192.0.2.1.
# odacli create-network -n sfpbond1 -p 192.0.2.15 -w Backup -s 255.255.255.0 -g 192.0.2.1