VPS 및 전용 서버(호스팅 컨트롤 센터) 도움말

Adding IP Addresses to Your Linux Server (Traditional)

Warning: We have multiple configuration methods for our servers' networking. To make sure you use the correct procedure when configuring additional IPs on your server, please see Add more IP Addresses.

Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.

When you receive additional IPs for your server, you have to configure your server to accept requests from them. The process to add IP addresses to your server depends on your control panel or operating system.

Note: We automatically configure additional IP addresses for Virtual Private Servers (VPS).

Parallels Plesk Panel 9

  1. Log in to Plesk as admin.
  2. Click IP Addresses.
  3. From the Tools section, click Add IP Address.
  4. In the IP address and subnet mask field, enter the IP address you want to add followed by /255.255.255.0. For example, if the new IP is "192.168.0.1" you would enter "192.168.0.1/255.255.255.0".
  5. From the IP address distributed as menu, select Shared.
  6. Click OK.
  7. If you use Client accounts, you must add the new IP to the client's IP pool before they can use it for their domains.

Parallels Small Business Panel

  1. Log in to the Parallels Small Business Panel as admin.
  2. Go to the Settings tab.
  3. Click Advanced Settings.
  4. Click IP Addresses.
  5. From the Tools section, click IP Address.
  6. In the IP address and subnet mask field, enter the IP address you are adding followed by /255.255.255.0. For example, if the new IP is "192.168.0.1" you would type 192.168.0.1/255.255.255.0 .
  7. From the IP address distributed as menu, select Shared.
  8. Click OK.

cPanel

  1. Log in to cPanel Web Host Manager (WHM) as root.
  2. Click IP Functions.
  3. Click Rebuild the IP Address Pool.
  4. Click Proceed.
If this does not detect the additional IP addresses:
  1. Log in to cPanel Web Host Manager (WHM) as root.
  2. Click IP Functions.
  3. Click Add a New IP Address.
  4. In the Ips to add field, enter the new IP address, ensure the subnet mask is set to 255.255.255.0, and then click Submit.

Fedora/CentOS/Redhat with No Control Panel and Simple Control Panel

  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Run
    cd /etc/sysconfig/network-scripts/
    to switch to the folder where the network configuration scripts are located.
  4. Run
    ls ifcfg*
    to view the current network adapters.

    Your server's primary IP displays as "ifcfg-eth0" and "ifcfg-lo" and additional IPs display as "ifcfg-eth0:0", "ifcfg-eth0:1", etc.
  5. Run
    cp ifcfg-eth0 ifcfg-eth0:X
    where X is two digits less than the number of IPs the server currently will have after adding the new IP. For example, to add the server's third IP address, run cp ifcfg-eth0 ifcfg-eth0:1 .
  6. Run
    vi ifcfg-eth0:X
    where X is the same value as the previous step, to edit the configuration file.
  7. Change the "IPADDR" value to the new IP address and the "DEVICE" value to eth0:X where X is the value from the previous steps.
  8. Save the file and exit the editor.
  9. Run
    /etc/init.d/network restart
    to restart the network service so that it recognizes the new IP.

Ubuntu with No Control Panel

  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Run
    vi /etc/network/interfaces
    to edit the network configuration file.

    Your server's primary IP displays as "eth0" and additional IPs display as "eth0:0", "eth0:1", etc.
  4. Review the listing for "eth0" to determine the netmask and gateway IP for your server.
  5. Add the following to the bottom of this file, replacing the fields in brackets with the appropriate values:
    auto [interface name]

    iface [interface name] inet static
    address [IP address]
    netmask [netmask]
    gateway [gateway IP]
    For example:
    auto eth0:0

    iface eth0:0 inet static
    address 192.168.0.1
    netmask 255.255.255.0
    gateway 192.168.0.254
  6. Save the file and exit the editor.
  7. Run
    /etc/init.d/networking restart
    to restart the network service so that it recognizes the new IP.

이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.