The ipmanage
utility is used to manage IP addresses in Plesk. By
using this utility, you can perform the following tasks:
- creating and removing IP addresses
- setting IP address type (exclusive or shared), subnet mask, and
network interface - assigning SSL/TLS certificates
- viewing the list of available IP addresses, SSL/TLS certificates, and
network interfaces
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 |
To create IP address 192.0.2.78, set its type to shared, 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" |
…