Whenever I disconnect a modem and than reconnect it, my ip address changes. How does one replicate this process (the ip change caused by disconnection and subsequent reconnection) programatically?
Asked
Active
Viewed 56 times
0
-
You could ask the DCHP server for a new address? You may have to delete/remove/flush current lease info from your DHCP client. – Martin James Feb 06 '16 at 11:12
-
Thank you. If you have time, could you provide an example? – sanjihan Feb 06 '16 at 11:24