linux renew ip address code example
Example 1: kali linux renew ip address
$ sudo dhclient -r
$ sudo dhclient
Example 2: new ip linux
Get new ip from DHCP (If not working, check your connection to router)
//Release ip
sudo dhclient -r [Interface name](optional)
//Renew ip
sudo dhclient [Interface name](optional)