?
Solved

Releasing IP address

Posted on 2003-03-13
7
Medium Priority
?
167 Views
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?
0
Comment
Question by:m_a_navid
[X]
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
7 Comments
 

Expert Comment

by:ender7007
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
0
 
LVL 1

Expert Comment

by:Rahmath
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....


0
 
LVL 10

Expert Comment

by:kiranghag
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...
0
 [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

by:m_a_navid
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 ;-)
0
 

Expert Comment

by:CleanupPing
ID: 9077670
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
 

Accepted Solution

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

modulo
Community Support Moderator
0

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