ThaMATRiX

Well-Known Member
Feb 1, 2004
196
0
166
Chicago
Hi. I have some major IP problems... I have some screenshots which I'm sure will help.
I left all the IPs In the screenshots as they will be needed to make sense of it, so I'm hoping that will be okay.

First of all... In the show/delete ips page, it has the wrong server ip. The cPanel system settings have the right one, the one being showed in this page as the first (.95) is one of my customers ips. It just hosts a website, this servers main ip is .78

http://helluvahost.net/ipproblems/showdeleteips.gif


As for the show/edit reserved ip list, it doesnt show my box'es first 8 ips..
those ips are NOT in /etc/ips

http://helluvahost.net/ipproblems/reservedips.gif

and last but not least, well the view usage of ips page is just very messed up., The order is very messed up mainly... I added the .88 ip to /etc/ips in the same format as the ips starting at .208 and thats why it shows two times. When I keep in it the /etc/ips then those ips also show in the edit reserved ips.

If I can just add all my server's origiunal 8 ips to the box in the /etc/ips thats fine with me, but then the usage page will still show doubles. Any ideas?

http://helluvahost.net/ipproblems/ipusage.gif


Thanks ahead of time.
 

fwwebs

Well-Known Member
Feb 16, 2004
328
0
166
sawbuck: Tried to help you but you don't want to allow anyone on the server. Best to hire someone.
I must agree with 'sawbuck', if you're not willing to let someone access your server to help you, it makes little sense to keep asking. That said, here are some very basic steps that you may have missed.

You say that your main server IP is .78 and that .95 should come after .94. Your screen shots show that .95 is your main server IP, thats why it's listed first.

Does your 'Main >> Server Setup >> Edit Setup' show .95 as your Main Shared Virtual Host IP. If it does change it to 78, if thats what you'd like all new accounts to be assigned to.

Have you tried to add your original 8 ips using the 'Add a New IP Address' in WHM? They generally don't add these during setup, it's up to the admin.
 

ThaMATRiX

Well-Known Member
Feb 1, 2004
196
0
166
Chicago
fwwebs said:
I must agree with 'sawbuck', if you're not willing to let someone access your server to help you, it makes little sense to keep asking. That said, here are some very basic steps that you may have missed.

You say that your main server IP is .78 and that .95 should come after .94. Your screen shots show that .95 is your main server IP, thats why it's listed first.

Does your 'Main >> Server Setup >> Edit Setup' show .95 as your Main Shared Virtual Host IP. If it does change it to 78, if thats what you'd like all new accounts to be assigned to.

Have you tried to add your original 8 ips using the 'Add a New IP Address' in WHM? They generally don't add these during setup, it's up to the admin.
Nope... If the main server ip was set as .95 then it wouldnt be a problem. but its set as .78
the 8 original ips are on the system, and show, and customers are using all 8 of them.
 

fwwebs

Well-Known Member
Feb 16, 2004
328
0
166
Nope... If the main server ip was set as .95 then it wouldnt be a problem. but its set as .78
the 8 original ips are on the system, and show, and customers are using all 8 of them.
Your screen shot shows .95 in blue and that means its the main IP and you say .95 "its just a normal ip, its hosting someones website". Have you tried resetting the main server IP to .78?

Sounds like you've done some changes via shell. Have you changed at /etc/ipaddrpool and /etc/ipaddrpool-?

Have you tried rebuilding the pool in WHM?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,561
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
Look at /etc/wwwacct.conf as well and ensure ADDR is showing the correct IP.

Also which IP is bound to eth0, generally this is the IP that is not allowed to be deleted on the IP list.
 

ThaMATRiX

Well-Known Member
Feb 1, 2004
196
0
166
Chicago
That file shows the right info... but.. when doing ifconfig i did notice something wierd...

Code:
[email protected] [~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.174.78  Bcast:69.9.174.79  Mask:255.255.255.252
          inet6 addr: fe80::20e:7fff:feb5:c267/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81227045 errors:6634400 dropped:0 overruns:0 frame:4062092
          TX packets:99259289 errors:2507 dropped:0 overruns:0 carrier:0
          collisions:6627276 txqueuelen:1000
          RX bytes:2493780793 (2378.2 Mb)  TX bytes:1625314172 (1550.0 Mb)
          Interrupt:161

eth0:1    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.174.88  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:2    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.208  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:3    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.209  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:4    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.210  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:5    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.211  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:6    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.212  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:7    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.213  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:8    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.214  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

eth0:9    Link encap:Ethernet  HWaddr 00:0E:7F:B5:C2:67
          inet addr:69.9.177.215  Bcast:69.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:161

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8749442 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8749442 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1434168456 (1367.7 Mb)  TX bytes:1434168456 (1367.7 Mb)

lo:0      Link encap:Local Loopback
          inet addr:69.9.174.88  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:1      Link encap:Local Loopback
          inet addr:69.9.174.89  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:2      Link encap:Local Loopback
          inet addr:69.9.174.90  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:3      Link encap:Local Loopback
          inet addr:69.9.174.91  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:4      Link encap:Local Loopback
          inet addr:69.9.174.92  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:5      Link encap:Local Loopback
          inet addr:69.9.174.93  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:6      Link encap:Local Loopback
          inet addr:69.9.174.94  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo:7      Link encap:Local Loopback
          inet addr:69.9.174.95  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Any idea how to change the original 8 ips to whichever way they should be?
 

fwwebs

Well-Known Member
Feb 16, 2004
328
0
166
Correct:

eth0:9 Link encap:Ethernet HWaddr 00:0E:7F:B5:C2:67
inet addr:69.9.177.215 Bcast:69.255.255.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:161
Problem (I think it should be on eth0:??):
lo:0 Link encap:Local Loopback
inet addr:69.9.174.88 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)