ProblemCan't remember the Linux commands equivalent to:
ipconfig renew ipconfig release
- Your IP is assigned via DHCP on a Linux box
- You've unplugged from one network and plugged into another and the old IP address hasn't cleared out
- Don't want to shutdown/restart the interface you just want to refresh the DHCP settings
sudo /sbin/dhclient -r is equivalent to ipconfig release sudo /sbin/dhclient is equivalent to ipconfig renew sudo /sbin/ifconfig is equivalent to ipconfigThe dhclient command broadcasts a DHCP message to your DHCP server, resulting in a new lease. A slower way to achieve the same result is to shutdown the interface and bring it back up via (assuming your target interface is eth0):
sudo /sbin/ifdown eth0 sudo /sbin/ifup eth0This same, slower approach can also be done graphically on RedHat by clicking System > Administration > Network, choosing your interface (eth0) and clicking deactivate followed by activate.