The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Different IP ranges

Discussion in 'General Discussion' started by scottf, Apr 1, 2014.

  1. scottf

    scottf Registered

    Joined:
    Apr 1, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hello all,

    I'm having an issue adding different IP address ranges to my dedicated cPanel server and am currently migrating 400+ users to our first cPanel server and then will be adding a second dedicated cPanel server for the others. Beforehand I used addresses like the following to setup my primary domain and nameservers:

    XXX.XXX.123.45
    XXX.XXX.123.46

    Well that was all fine and good, then I went on to add a account and assigned that account its own IP, all our accounts have dedicated IP addresses, all on the same subnet mask but in different ranges, however the first 2 octets are always the same but they have different gateways for example

    89.98.123.45 -> 89.98.123.1
    89.98.135.46 -> 89.98.135.46

    when adding another account It appears I must ensure I go with the lowest range first or else the addresses will not route properly. for example I added first 89.98.123.49 and it worked without issue, then I added 89.98.135.50 and it worked fine as well, however then I go back to add 89.98.123.51 and it will not route from outside the network at all. What is interesting about this is that I can get to the IP from anywhere on that same x.x.123.x network even the same server, but not from outside that network. I cannot ping from that interface outside the network either, but I can ping from within it ie ping from 89.98.123.51 to 89.98.123.106. However, if i remove the 89.98.135.50 (example ip) and then add 89.98.123.51 assign it to account etc, then readd 89.98.135.50 everything works fine. I am wondering if there is somewhere I can add the gatway in for these interfaces because they do not create standard config files in /etc/sysconfig/network-scripts/ so that I can route these properly because it seems that they are not using the correct gateway. However I have 4 NICs on this machine and if I must set them all to different ranges I could also do that if needed.

    Thanks for taking the time to read!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you tried restarting the "ipaliases" service? It seems like it might be an issue with the network configuration. Have you consulted with your data center or network provider about this issue? Also, as far as using multiple NICs, please see this thread:

    Multiple NICs

    Thank you.
     
Loading...

Share This Page