Release and Renew IP in Ubuntu Server Terminal

To release your IP and renew it open up a terminal as SU and type the following:

Release IP Address:

dhclient -r

To renew your IP:

dhclient