NIC=$(netstat -r | awk '/default/ {print $NF}')
Selon https://askubuntu.com/questions/767308/how-to-release-an-ip-address-and-renew-from-the-commandline