How to configure an IP address range on a CentOS cloud server?

When you order additional IP addresses for your SSD Cloud VPS, by default only primary IP is configured on the VPS and you need to manually configure it on the OS. If assigned IP addresses are in a sequential range, you conuse a range file to configure all IPs at once. To do so, please follow the steps bellow:

  1. Login to your VPS via SSH or using the web console.
  2. Create a range interface file:

    vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0
  3. Add following lines replacing IPADDR_START and IPADDR_END with start and end of your IP block as well as the PREFIX to corresponding CIDR for your subnet mask:

    IPADDR_START=192.168.1.10 IPADDR_END=192.168.1.254 PREFIX=24 CLONENUM_START=0
  4. Restart the networking service:

    systemctl restart networking
  • ssd cloud vps, ssd vps, centos, ip configuration
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure additional IP addresses on a CentOS cloud server?

When you order additional IP addresses for your SSD Cloud VPS, by default only primary IP is...

How to re-install OS on a cloud server?

You can easily reinstall the OS of your choice on your cloud server/VPS by following instructions...

How to setup PPTP VPN server on CentOS 7

Below instructions will guide you through installing and configuring PPTP VPN...

Powered by WHMCompleteSolution