The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
  3. padani

    padani Active Member

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

    Thank you very much chirpy .Your help came in time :)
     
  4. jonwatson

    jonwatson Well-Known Member

    Joined:
    Apr 1, 2007
    Messages:
    101
    Likes Received:
    1
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page