To do this, type in ifconfig in Terminal. You will get a bunch of interfaces available on the Mac device, and each interface will be marked as active or inactive. Determine which interface you want to do a release/renew on. Refer to screenshots
For this example, I will be working on my wifi...