take a look on doule hop problem description - look like it may be your case
for solving that problem you can use 2 scripts:
- 1 configuring schedulled task on a remote host to run your 2nd script
- 2 configure dhcp locally (from scheduller)
The opinion expressed by me is not an official position of Microsoft