2.2.1.9. prlsrvctl privnet

The prlsrvctl privnet command is used to manage private networks on physical servers.

Table 2.26. Subcommands

NameDescription

add

Creates a new private network.

set

Configures the parameters of an existing private network.

del

Removes an existing private network.

list

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

NameDescription

<private_network_ID>

The private network ID.

-a, --ipadd <addr>[/<mask>]

Add a subnet to the private network. The network can have multiple subnets.

--global <yes|no>

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

NameDescription

<private_network_ID>

The private network ID.

a, --ipadd <addr>[/<mask>]

Add a subnet to the private network. The network can have multiple subnets.

-d, --ipdel <addr>[/<mask>]

Delete the specified subnet from the private network.

--global <yes|no>

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>

Table 2.29. Options

NameDescription

<private_network_ID>

The ID of the private network to delete.

list

Lists the private networks that exist on the physical server.

Syntax. 

prlsrvctl privnet list