Releasing IP address

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?
m_a_navidAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ender7007Commented:
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
0
RahmathCommented:


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....


0
kiranghagCommented:
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...
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

m_a_navidAuthor Commented:
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 ;-)
0
CleanupPingCommented:
m_a_navid:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
moduloCommented:
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.