linux eth0 renew ip code example Example: kali linux renew ip address $ sudo dhclient -r $ sudo dhclient