Releasing IP address

Posted on 2003-03-13
Medium Priority
Last Modified: 2010-03-18
Hi all,
I'm stock in my linux box :-).
I don't know how can I release IP address. I get my IP address through DHCP Server. In Windows we can simply use command "ipconfig /release" so we can release IP address. Currently I'm using RedHat 8.0. Does any one know how can I release my IP address?
Question by:m_a_navid
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8132199
If you only have 1 network card I would use
/etc/rc.d/init.d/network stop

That will shut down your network and should release the IP address.  To get the network up again you would use:

/etc/rc.d/init.d/network start

Expert Comment

ID: 8135321

There was a command called "pump" in the previous versions of RHL to release IP address. so iam not sure whether it will be in RHL 8.0. Check it out....

LVL 10

Expert Comment

ID: 8136227
if u  wish to individually release the ip address for say eth1...
u have all the scripts located in /etc/sysconfig/networking-scripts/
or something similar directory...
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks


Author Comment

ID: 8136273
Thank you all,
My problem has been solved, I was playing with commands in linux. There is a file located in /sbin called "dhpclient" I think this is the name. By executing this file with "-r" it will release our IP address. i.e: /sbin/dhpclient -r

Thanks all of you ;-)

Expert Comment

ID: 9077670
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Accepted Solution

modulo earned 0 total points
ID: 13252598
PAQed with points refunded (125)

Community Support Moderator

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question