Plesk

ipmanage: IP Addresses

The ipmanage utility is used to manage IP addresses in Plesk. By
using this utility, you can perform the following tasks:

Usage

ipmanage <command> [<IP address>] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]

Example

The following command creates IP address 192.0.2.78 with subnet mask
255.255.255.0, specifies physical network interface named Local Area
Connection
for the IP address, sets the type of the IP address to
exclusive, and specifies the name of the SSL/TLS certificate (My site
certificate
) to be used for the IP address.

plesk bin ipmanage --create 192.0.2.78 -mask 255.255.255.0 -interface "eth0" -type exclusive -ssl_certificate "My site certificate"

Commands

Command Parameter Description Example
--create or -c <IP_address>

Creates an IP address.

Requires the -type, -interface, and -mask options.

To create IP address 192.0.2.78, set its type to shared,
network mask to 255.255.0.0, and physical network interface
to Local Area Connection:

plesk bin ipmanage --create 192.0.2.78 -type shared -mask 255.255.0.0 -interface "eth0"

or

plesk bin ipmanage -c 192.0.2.78 -type shared -mask 255.255.0.0 -interface "eth0"