The prlsrvctl privnet
command is used to manage private networks on physical servers.
Table 2.26. Subcommands
Name | Description |
---|---|
| Creates a new private network. |
| Configures the parameters of an existing private network. |
| Removes an existing private network. |
| Lists the available private networks. |
add
Creates a new private network.
Syntax.
prlsrvctl privnet add <private_network_ID> [-a, --ipadd <addr>[/<mask>]] [--global <yes|no>]
Table 2.27. Options
Name | Description |
---|---|
| The private network ID. |
| Add a subnet to the private network. The network can have multiple subnets. |
| Make the private network weak, allowing access to and from external networks. |
set
Configures an existing private network.
Syntax.
prlsrvctl privnet set <private_network_ID> [-a, --ipadd <addr>[/<mask>]] [-d, --ipdel <addr>[/<mask>]] [--global <yes|no>]
Table 2.28. Options
Name | Description |
---|---|
| The private network ID. |
| Add a subnet to the private network. The network can have multiple subnets. |
| Delete the specified subnet from the private network. |
| Make the specified private network weak, allowing access to and from external networks. |
del
Deletes a private network from the physical server.
Syntax.
prlsrvctl privnet del <private_network_ID>
list
Lists the private networks that exist on the physical server.
Syntax.
prlsrvctl privnet list