Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
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...
 

feanor

Well-Known Member
Aug 13, 2001
836
0
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
;)