I need to get a new address from the DHCP server. As I understand it, you need to delete your current ip and wait (and it’s better to request) until the router issues a new address. Tell me how to do it on python.
I need to get a new address from the DHCP server. As I understand it, you need to delete your current ip and wait (and it’s better to request) until the router issues a new address. Tell me how to do it on python.
Source: https://ru.stackoverflow.com/questions/786028/
All Articles
ipconfig /release- release the address;ipconfig /renew- request a new one. - de_fragsudo dhclient -r eth0- free eth0; get new -sudo dhclient eth0- de_frag