The ipmanage utility is used to manage IP addresses in Plesk. By using this utility, you can perform the following tasks:
Syntax
ipmanage <command> [<IP address>] [
<option_1> [<param>]
[<option_2> [<param>]]
…[<option_N> [<param>]]
]
Example
The following command creates IP address 192.168.67.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 certificate (My site certificate) to be used for the IP address.
# ./ipmanage --create 192.168.67.78 -mask 255.255.255.0 -interface "Local Area Connection" -type exclusive -ssl_certificate "My site certificate"
Commands
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Creates an IP address. Requires concomitant use of the |
To create IP address 192.168.67.78, set its type to shared, network mask to 192.168.12.1/16, and physical network interface to Local Area Connection: # ./ipmanage --create 192.168.67.78 -type shared -mask 192.168.12.1/16 -interface "Local Area Connection" or # ./ipmanage -c 192.168.67.78 -type shared -mask 192.168.12.1/16 -interface "Local Area Connection"
|
|
|
Updates various parameters of an IP address such as its type, subnet mask, network interface, and associated SSL certificates. |
To change the type of IP address 192.168.67.78 from shared to exclusive: # ./ipmanage --update 192.168.67.78 -type exclusive or # ./ipmanage --update 192.168.67.78 -type exclusive |
|
|
Deletes an IP address. |
To remove IP address 192.168.67.78: # ./ipmanage --remove 192.168.67.78 or # ./ipmanage -r 192.168.67.78 |
|
|
Displays the list of available IP addresses. |
To display the list of available IP addresses: # ./ipmanage --ip_list or # ./ipmanage -l |
|
|
Displays the list of available SSL certificates. |
To output the list of available SSL certificates: # ./ipmanage -ssl_list or # ./ipmanage -s |
|
|
Displays the list of available interfaces. |
To display the list of available network interfaces: # ./ipmanage --inter_list or # ./ipmanage -f |
|
|
Displays help on the use of the utility. |
To display help on the use of the ipmanage utility: # ./ipmanage --help or # ./ipmanage -h |
Options
Option |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Sets the type of an IP address. Required by the |
To change the type of IP address 192.168.67.78 from shared to exclusive: # ./ipmanage -u 192.168.67.78 -type exclusive |
|
|
Specifies the name of an SSL certificate to be used for the IP address. |
To assign SSL certificate named New Certificate to IP address 192.168.67.78: # ./ipmanage -u 192.168.67.78 -ssl_certificate "New Certificate" |
|
|
Specifies the subnet mask for an IP address. Required by the Used only with the |
To create IP address 192.168.67.78, set its type to shared, network mask to 192.168.12.1/16, and physical network interface to Local Area Connection: # ./ipmanage -c 192.168.67.78 -type shared -mask 192.168.12.1/16 -interface "Local Area Connection" |
|
|
Specifies the name of the physical network interface for an IP address. Required by the Used only with the |