Base de Conhecimento

Add a New IP Address  Imprimir este Artigo

Overview:

This interface allows you to add an IP address to your IP address pool. Use this pool, for example, when you assign a static IP address to a new account.

To add multiple IP addresses simultaneously, use any of the following formats:

Format Example
Class C CIDR 192.168.0.128/25
IP/Netmask 192.168.0.128/255.255.255.128
IP Range 192.168.0.128-255
Warning:
You must add an IP address through this interface for cPanel & WHM to recognize the IP address.

Add a New IP Address (or Addresses)

To add one or more IP addresses in the Add a New IP Address table, perform the following steps:

  1. Enter the IP address or addresses in the New IP or IP range to add text box.

    Note:
    • If you are in 1:1 NAT Mode, enter the local IP address, not the public IP address.

    • If the New IP and IP range to add value uses Class C CIDR format, you must use a mask range between 24 through 30.

     

  2. Enter the subnet mask in the Select a subnet mask for the IP or IPs above to use: text box.

    Note:
    An incorrect subnet mask may cause networking issues for your server or other servers on your network. If you do not know the correct subnet mask for this IP address or IP address range, ask your hosting or networking provider.

     

  3. Enter any IP addresses to exclude in the IPs and IP ranges to exclude from the range of new IPs text box.

  4. Click Submit to add the IP address or addresses.

When you add an IP address, the system attempts to add an alias of that IP address to the main network interface. This process rebuilds the IP address pool, which resides in the /etc/ipaddrpool file. The system stores IP addresses within the /etc/ips file. The ipaliases service activates those IP addresses when the server starts.

For more information about the ipaliases service, read our The cPanel & WHM Service Daemons documentation.

Esta resposta foi útil?

Artigos Relacionados

Assign IPv6 Address
Overview: Warning: Due to networking requirements, you cannot run an IPv6-only cPanel &...
Configure Remote Service IPs
Overview: This interface allows you to specify remote mail server and nameserver IP addresses...
IP Migration Wizard
Overview: The IP Migration Wizard helps you to change the IP addresses of the cPanel accounts...
IPv6 Ranges
Overview: Warning: Due to networking requirements, you cannot run an IPv6-only cPanel &...
Configure Remote Service IPs
Overview: This interface allows you to specify remote mail server and nameserver IP addresses...