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!

Cant remove an ip address

Discussion in 'General Discussion' started by padani, Apr 3, 2008.

  1. padani

    padani Active Member

    Joined:
    Apr 7, 2007
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    AUSTRALIA
    cPanel Access Level:
    Root Administrator
    Hi all
    When i go to
    WHM -> IP Functions -> Show or Delete Current IP Addresses and click a Remove l it shows removed and
    then i check again .The ip is still there

    How to remove it completely ?

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Remove it from /etc/ips - if it's not in there, you probably have to remove the configuration file for it in /etc/sysconfig/network-scripts/ifcfg-XXXX where XXXX is the device it is bound to, then down the device using:

    ifconfig XXXX down
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. padani

    padani Active Member

    Joined:
    Apr 7, 2007
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    AUSTRALIA
    cPanel Access Level:
    Root Administrator
    Thank you very much

    Thank you very much chirpy .Your help came in time :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jonwatson

    jonwatson Well-Known Member

    Joined:
    Apr 1, 2007
    Messages:
    101
    Likes Received:
    1
    Trophy Points:
    168
    Hello,

    I have a similar, but slightly different problem. When I go into WHM's "Show or Delete Current IP Addresses", all of my IP addresses show up green and there is not option to delete any of them.

    I understand that I probably shouldn't be able to delete IP addresses that are in use, but the "Show IP Address Usage" shows three that are not in use. Should I not be able to delete those three in the Delete page?

    Thanks,

    Jon
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    As I mentioned in my update - you'll only be able to do that if the IP is listed in /etc/ips. If it's not then it's been configured manually within Linux and you need to remove the ifcfg config file and then down the associated device. If it is listed in /etc/ips then you ought to be able to remove it if it's not being used and not reserved.
     
    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