Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Releasing IP address

Posted on 2003-03-13
7
Medium Priority
?
168 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
6 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

577 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