BW -Tim

Well-Known Member
Jun 3, 2006
73
0
156
How can I change a sites IP address, when the IP isn't list on the 'Change Site's IP Address' page in WHM? The IP is also being used as a ns1 nameserver

Tim
 

jandafields

Well-Known Member
May 6, 2004
435
4
168
USA
cPanel Access Level
Root Administrator
In the root WHM, on the left, under IP FUNCTIONS.

ADD A NEW IP ADDRESS

SHOW OR DELETE CURRENT IP ADDRESSES

SHOW/EDIT RESERVED IPs

geez man, just look around on the WHM, there's lots of stuff on there :)

-j
 

BW -Tim

Well-Known Member
Jun 3, 2006
73
0
156
It's all there, including theIPs, but I wasn't able to use the features in those options, which is what I was asking for help about. I have solved it myself now though.
 

ZeusChicago

Active Member
Oct 9, 2005
44
0
156
BW -Tim said:
It's all there, including theIPs, but I wasn't able to use the features in those options, which is what I was asking for help about. I have solved it myself now though.

Im having the same problem. What fixed it for you?

I have the IP's added in Cpanel
They are not checked in the reserved list (but they are listed there so I could reserve them)

But when I do "Change Site's IP Address' there is nothing in the dropdown box for IP's

Suggestion's anyone?

Z
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
try to restart IP aliases by running:
#/etc/rc.d/init.d/ipaliases stop
#/etc/rc.d/init.d/ipaliases start

However I am not sure it will help.

Additionally, I advise to "Rebuild the IP Address Pool", see the section "IP Functions" of your WHM.
 

ZeusChicago

Active Member
Oct 9, 2005
44
0
156
Ahhhh, I think I am getting closer now. i got this when running the stop then start. I think that the aliais is pointing at eth0 and my nic is eth01 (think).

This would explain why my nameservers are also not functioning that i setup

[email protected] [/etc]# /etc/rc.d/init.d/ipaliases start
Bringing up eth0:1 [ OK ]
Routing 70.84.185.131 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:2 [ OK ]
Routing 70.84.185.132 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:3 [ OK ]
Routing 70.84.185.133 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:4 [ OK ]
Routing 70.84.185.134 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:5 [ OK ]
Routing 70.84.185.135 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:6 [ OK ]
Routing 70.84.185.136 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:7 [ OK ]
Routing 70.84.185.137 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:8 [ OK ]
Routing 70.84.185.138 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:9 [ OK ]
Routing 70.84.185.139 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:10 [ OK ]
Routing 70.84.185.140 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:11 [ OK ]
Routing 70.84.185.141 SIOCADDRT: No such device
[FAILED]
Bringing up eth0:12 [ OK ]
Routing 70.84.185.142 SIOCADDRT: No such device
[FAILED]
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
Then run:

#/etc/rc.d/init.d/network restart

(NOTE !!! YOU MUST RUN RESTART, NOT STOP/START)

and then

#ifconfig

in shell of your server and check available ethX interfaces. if eth0 doesn't exists then probably IPs weren't added properly. In this case I advise you to remove them via WHM and add again.

To remove the IP click on "Show or Delete Current IP Addresses".
 
Last edited:

ZeusChicago

Active Member
Oct 9, 2005
44
0
156
Got it (thanks everyone) The folks over @ theplanet got me on the right track. I had to do the following (because my host by default uses eth1

in WHM go to Basic cPanel/WHM Setup, set Alternate Main Ethernet Device to eth1, and then click save.

Then, log in via ssh as root and restart ipaliases with the command:

/etc/rc.d/init.d/ipaliases restart