m_a_navid
asked on
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?
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?
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....
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...
u have all the scripts located in /etc/sysconfig/networking-
or something similar directory...
ASKER
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 ;-)
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 ;-)
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
/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