Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Better way to add IPs

Discussion in 'General Discussion' started by Daniel, Dec 4, 2001.

  1. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    316
    There has to be a better way to add IPs than one at a time in WHM. Anyone know what file/files need to be edited. It would be great if you could put in a range of IPs in WHM but...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    /etc/sysconfig/network-scripts

    ifcfg-eth0 is your primary IP config.
    Secondary addresses can be bound with files such as
    \"ifcfg-eth0:0\" , \"ifcfg-eth0:1\"

    In each of those files you can bind whole ranges like:

    \"IPADDR=123.123.123.12-88\"

    That would be in one particular file, such as ifcfg-eth0:0, for example, and would bind that entire range provided they are available routable through the gateway(s) configured on the machine.

    peace as always
    ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    316
    Thanks for the info! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice