Discussion Locked

DHCP

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can anyone tell me if there is an equivalent to an NT ipconfig /release /renew with LINUX or UNIX. I have been able to enable/disable the driver but not renew a DHCP address without rebooting.

5 replies

by randyarnold

Yes there is.
if the distribution is RedHat;

/sbin/pump -i eth0 -R

This assumes the first ethernet card.
To display DHCP info use.

/sbin/pump -i eth0 --status

For other options see man pump.

Randy

by gregory pleau

I usually just use
#/etc/rc.d/init.d/network restart

or

#ifdown eth0
#ifup eth0

(BTW the # indicates the BASH prompt - don't type the '#').

Good Luck

This discussion is closed to new replies.