Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. For example, open terminal application and type the command:
- $ sudo dhclient -r
- Now obtain fresh IP address using DHCP on Linux:
- $ sudo dhclient
- How can I renew or release an IP in Linux for eth0?
- To renew or release an IP address for the eth0 interface, enter:
- $ sudo dhclient -r eth0
- $ sudo dhclient eth0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement