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.

HOw to delete virtual IP via ssh

Discussion in 'General Discussion' started by Toni info, Nov 1, 2012.

  1. Toni info

    Toni info Well-Known Member

    Joined:
    Sep 10, 2011
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Krnji rat IV / 2 HR - 21410 Splitska, Croatia
    cPanel Access Level:
    DataCenter Provider
    Hello

    i nead to delete eth0:cp1 and eth0:cp2 from my bind on linux server via ssh.

    Please can anyone give me a command to do it nnead to remove via ssh command bold part.

    My interface look like this:

    bash-3.2# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:30:1B:B7:93:B5
    inet addr:xxx.xxx.xxx.101 Bcast:xxx.xxx.xxx.111 Mask:xxx.xxx.xxx.240
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1237 errors:0 dropped:0 overruns:0 frame:0
    TX packets:964 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:115770 (113.0 KiB) TX bytes:141110 (137.8 KiB)
    Interrupt:217 Base address:0xa000

    eth0:cp1 Link encap:Ethernet HWaddr 00:30:1B:B7:93:B5
    inet addr:xxx.xxx.xxx.101 Bcast:xxx.xxx.xxx.111 Mask:xxx.xxx.xxx.240
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:217 Base address:0xa000

    eth0:cp2 Link encap:Ethernet HWaddr 00:30:1B:B7:93:B5
    inet addr:xxx.xxx.xxx.102 Bcast:xxx.xxx.xxx.111 Mask:xxx.xxx.xxx.240
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:217 Base address:0xa000


    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:1182 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1182 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:139144 (135.8 KiB) TX bytes:139144 (135.8 KiB)
     
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Please refer to link for /http://superuser.com/questions/153559/clear-ip-address-of-ethernet-interface removing IP from command line.
     
Loading...

Share This Page