<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to remove an IP in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696312#M42306</link>
    <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply &lt;BR /&gt;If we remove using the following command will it remove permanently,&lt;BR /&gt;&lt;BR /&gt;ip addr del 10.58.121.250 dev eth0&lt;BR /&gt;ip addr del 10.58.121.251 dev eth0&lt;BR /&gt;&lt;BR /&gt;Or if we restart the machine again will these IPs exist?</description>
    <pubDate>Thu, 07 Oct 2010 07:15:49 GMT</pubDate>
    <dc:creator>WW288996</dc:creator>
    <dc:date>2010-10-07T07:15:49Z</dc:date>
    <item>
      <title>How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696307#M42301</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have executed ip addr show command and found that it has 3 IP assigned for eth0, the first IP is there in ifcfg-eth0 file, but I dont know what is the other two IPs. &lt;BR /&gt;The other two IPs are actually assigned to some other hosts. So I want to remove the other two IPs from this system&lt;BR /&gt;&lt;BR /&gt;Please find the ip addr show command output.&lt;BR /&gt;Kindly help me to remove the the following two IPs from this system,10.58.121.250 &amp;amp; 10.58.121.251.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ip addr show&lt;BR /&gt;1: lo: &lt;LOOPBACK&gt; mtu 16436 qdisc noqueue&lt;BR /&gt;    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;    inet 127.0.0.1/8 scope host lo&lt;BR /&gt;    inet6 ::1/128 scope host&lt;BR /&gt;       valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &lt;BROADCAST&gt; mtu 1500 qdisc pfifo_fast qlen 1000&lt;BR /&gt;    link/ether 00:21:5e:2e:55:da brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;    inet 10.58.121.193/25 brd 10.58.121.255 scope global eth0&lt;BR /&gt;    inet 10.58.121.250/32 scope global eth0&lt;BR /&gt;    inet 10.58.121.251/32 scope global eth0&lt;BR /&gt;    inet6 fe80::221:5eff:fe2e:55da/64 scope link&lt;BR /&gt;       valid_lft forever preferred_lft forever&lt;BR /&gt;3: eth1: &lt;BROADCAST&gt; mtu 1500 qdisc noop qlen 1000&lt;BR /&gt;    link/ether 00:21:5e:2e:55:dc brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;4: sit0: &lt;NOARP&gt; mtu 1480 qdisc noop&lt;BR /&gt;    link/sit 0.0.0.0 brd 0.0.0.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;IPADDR=10.58.121.193&lt;BR /&gt;NETMASK=255.255.255.128&lt;BR /&gt;HWADDR=00:21:5E:2E:55:DA&lt;BR /&gt;GATEWAY=10.58.121.129&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;USERCTL=no&lt;BR /&gt;IPV6INIT=no&lt;BR /&gt;PEERDNS=yes&lt;BR /&gt;&lt;/NOARP&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/LOOPBACK&gt;</description>
      <pubDate>Thu, 07 Oct 2010 06:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696307#M42301</guid>
      <dc:creator>WW288996</dc:creator>
      <dc:date>2010-10-07T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696308#M42302</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;check if there exist some files :&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0:1&lt;BR /&gt;&lt;BR /&gt;....&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0:2&lt;BR /&gt;&lt;BR /&gt;if yes just remove the files and if the system start again only the eth0 config will be applied.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 07 Oct 2010 06:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696308#M42302</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-10-07T06:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696309#M42303</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;and of course also :&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth1&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 07 Oct 2010 06:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696309#M42303</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-10-07T06:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696310#M42304</link>
      <description>there is no other configuration files under&lt;BR /&gt;/etc/sysconfig/network-scripts folder&lt;BR /&gt;&lt;BR /&gt;___________________________________________&lt;BR /&gt;&lt;BR /&gt;[root@nizamabad ~]# cd /etc/sysconfig/network-scripts/&lt;BR /&gt;&lt;BR /&gt;[root@nizamabad network-scripts]# ls&lt;BR /&gt;ifcfg-eth0   ifdown-ippp   ifdown-ppp     ifup          ifup-ipsec  ifup-plusb   ifup-sl           network-functions&lt;BR /&gt;ifcfg-lo     ifdown-ipsec  ifdown-routes  ifup-aliases  ifup-ipv6   ifup-post    ifup-tunnel       network-functions-ipv6&lt;BR /&gt;ifdown       ifdown-ipv6   ifdown-sit     ifup-bnep     ifup-ipx    ifup-ppp     ifup-wireless&lt;BR /&gt;ifdown-bnep  ifdown-isdn   ifdown-sl      ifup-eth      ifup-isdn   ifup-routes  init.ipv6-global&lt;BR /&gt;ifdown-eth   ifdown-post   ifdown-tunnel  ifup-ippp     ifup-plip   ifup-sit     net.hotplug&lt;BR /&gt;&lt;BR /&gt;___________________________________________&lt;BR /&gt;&lt;BR /&gt;[root@nizamabad network-scripts]# cat ifcfg-eth0&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;IPADDR=10.58.121.193&lt;BR /&gt;NETMASK=255.255.255.128&lt;BR /&gt;HWADDR=00:21:5E:2E:55:DA&lt;BR /&gt;GATEWAY=10.58.121.129&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;USERCTL=no&lt;BR /&gt;IPV6INIT=no&lt;BR /&gt;PEERDNS=yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2010 07:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696310#M42304</guid>
      <dc:creator>WW288996</dc:creator>
      <dc:date>2010-10-07T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696311#M42305</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try with this:&lt;BR /&gt;&lt;BR /&gt;ip addr del 10.58.121.250 dev eth0&lt;BR /&gt;ip addr del 10.58.121.251 dev eth0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2010 07:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696311#M42305</guid>
      <dc:creator>FLQ</dc:creator>
      <dc:date>2010-10-07T07:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696312#M42306</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply &lt;BR /&gt;If we remove using the following command will it remove permanently,&lt;BR /&gt;&lt;BR /&gt;ip addr del 10.58.121.250 dev eth0&lt;BR /&gt;ip addr del 10.58.121.251 dev eth0&lt;BR /&gt;&lt;BR /&gt;Or if we restart the machine again will these IPs exist?</description>
      <pubDate>Thu, 07 Oct 2010 07:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696312#M42306</guid>
      <dc:creator>WW288996</dc:creator>
      <dc:date>2010-10-07T07:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove an IP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696313#M42307</link>
      <description>The "ip addr del ..." commands will remove the addresses, but if something adds them back at reboot, they will be back.&lt;BR /&gt;&lt;BR /&gt;Whoever has configured these addresses has apparently not used the standard method, if /etc/sysconfig/network-scripts/ifcfg-eth0:* files don't exist.&lt;BR /&gt;&lt;BR /&gt;Is some sort of cluster software running on this system? It might add some extra IPs for clustered services (= "packages" if you're familiar with HP Serviceguard clustering).&lt;BR /&gt;&lt;BR /&gt;You might want to look into /etc/rc.d/rc.local: if the previous sysadmin was not aware of the standard method of configuring extra IPs, s/he may have added them there.&lt;BR /&gt;&lt;BR /&gt;If that does not help, you may have to try and find the configuration by brute force:&lt;BR /&gt;&lt;BR /&gt;grep -r '10.58.121.250' /etc/*&lt;BR /&gt;&lt;BR /&gt;This will find *all* the files in /etc where that IP address appears. &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 07 Oct 2010 12:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-remove-an-ip/m-p/4696313#M42307</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-10-07T12:48:25Z</dc:date>
    </item>
  </channel>
</rss>

