Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Feb 2008
    Location
    Atlanta, GA
    Posts
    77
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Multiple IP Blocks (Ranges)

    How would I add IP addresses to WHM that are in a different IP block than what I am currently using? Can I even do this? Do I just add IP in WHM as normal with the correct CIDR?
    We are about to run out of IP's in our current range and need more.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Multiple IP Blocks (Ranges)

    You can add any IPs you have assigned to you in WHM > IP Functions > Add a New IP Address area. The IPs would be added using the full IP number and ranges would be listed such as 12.12.12.12-20 if you had IPs 12.12.12.12 through 12.12.12.20
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Feb 2008
    Location
    Atlanta, GA
    Posts
    77
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Multiple IP Blocks (Ranges)

    I guess I didn't ask the question properly. If my colo provider is not able to give me more IP's in our current subnet and assigns us a block in a different subnet how would I add these?
    For example if my current block was 192.168.170.1/24 and I was then assigned an additional block of 192.168.180.1/24 can I use both of these on the same server. I am thinking I would need to bind the second block to another network interface (like eth1).

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Multiple IP Blocks (Ranges)

    So this is a NAT-based setup? If it's something to do with NAT, then you will have to ask your provider how to handle this. cPanel does not handle NAT-based environments at this time nor does cPanel allow using eth0 and eth1 interfaces for IP handling.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Feb 2008
    Location
    Atlanta, GA
    Posts
    77
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Multiple IP Blocks (Ranges)

    No this is not NAT. I used those ip blocks as examples. Ok, IF I had this ip block (these are not mine but to avoid confusion they are public) 12.228.101.0/24 and now I am running out and need more so I am assigned 12.228.102.0/24. How does WHM handle multiple subnets (or can it handle them at all)? I am guessing that if this can work I would probably need to have another NIC that the new ip's would be bound to.
    Last edited by tomdchi; 06-25-2011 at 04:03 PM.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Multiple IP Blocks (Ranges)

    You do not need a new NIC to add extra IPs so long as you have the right IP number and know the existing subnet. The blocks being in different C-classes does not matter at all. This is why WHM > IP Functions > Add a New IP Address area has this field:

    Code:
    Subnet Mask
    Would you be able to try adding the IPs normally to see if they work? If you are not certain the subnet for the IPs, you could ask your IP provider. Please try keeping them on the same NIC as the other IPs you are using.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Feb 2008
    Location
    Atlanta, GA
    Posts
    77
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Multiple IP Blocks (Ranges)

    Thats awesome if that is all I have to do!! Thanks for the help.

Similar Threads & Tags
Similar threads

  1. Blocking IP ranges?
    By AnIrishman in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-29-2009, 04:53 PM
  2. Migrating IP Ranges
    By Jeewhizz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2007, 01:20 PM
  3. Ignoring Bandwidth from certain IP ranges
    By Jasonflk in forum New User Questions
    Replies: 0
    Last Post: 01-25-2007, 12:53 PM
  4. Allow Relay Hosts IP Ranges
    By viet in forum New User Questions
    Replies: 0
    Last Post: 09-16-2004, 09:02 PM
  5. opinion blocking several ip ranges
    By dave9000 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-13-2004, 03:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube