Article ID: 4402, created on Mar 24, 2008, last review on Apr 18, 2012

  • Applies to:
  • Sphera

Symptoms

Releasing an IP from a machine

Resolution

In order to release an IP from a machines startup (Linux) you need to do the following:


1. Enter this path: /etc/sysconfig/network-scripts
2. Choose the eth0 that you want to release:
-rw-r--r-- 1 admin wheel 105 Oct 24 16:51 ifcfg-eth0:1
 
More ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
IPADDR=66.164.241.6 <---------------------- The IP that you want to release from the startup
NETMASK=255.255.255.0
NETWORK=66.164.241.0
ONBOOT=yes
 
 
Just remove the file:
(please backup the file that you want to remove first.)
rm ifcfg-eth0:1

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF