Portal Home > Knowledgebase > Articles Database > Unused IP's using bandwidth?


Unused IP's using bandwidth?




Posted by HW-David, 11-19-2007, 11:19 PM
We have 8 IP's on our dedicated server, and only 3 are being used. The other 5, according to bandmin, are using both incoming and outgoing bandwidth. I've never seen this before. Each IP is using on average... 160mb (in+out). My server provider says its normal, but he didn't really seem interested in the problem.

Posted by david510, 11-19-2007, 11:33 PM
What OS does your server have and any control panel installed? If there is no control panel which webserver are you using?

Posted by HW-David, 11-20-2007, 01:32 AM
CentOS 4.5 with cPanel 11, running apache 2.0.61

Posted by activelobby4u, 11-20-2007, 01:54 AM
This could happen if you have bound all your IP's to services such as apache , mysql etc. The external users can connect to the servers using the unused IP , which might have been the source of bandwidth

Posted by david510, 11-20-2007, 02:50 AM
If you are not using the whole IPs, you can add Listen directives in the httpd.conf to individually Listen the IPs on port 80. By this way you can disable unused IPs from listening to port 80. So, if a user tries to connect to the unused IP's he cannot connect to the server thereby saving the bandwidth otherwise consumed using these IPs. To do this, search for the word Listen in the httpd.conf file. You can see the following line. Add below the Listen directives as follows with the IPs you need to enable. Assuming your usable ips are 11.11.11.11, 22.22.22.22, 33.33.33.33 Next search for the following lines. Comment the line "Listen 80". Restart apache. This will make sure only the specified IPs will listen to port 80. When you need to use an extra IP, just add that IP as an additional Listen directive as above.

Posted by HW-David, 11-21-2007, 02:33 PM
Thanks Guys.

Posted by knifer, 11-21-2007, 06:51 PM
Try to research apache logs. If nothing suspecious in there, just block those IPs with iptables



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Server Problem (Views: 681)