Windows DatabaseebooksStatistical Information

LWE10072 : Howto configure a dhcp server from the command line or from a remote system


You need to script your dhcp server configuration




You can use a command line or create a cmd file and execute it accordingly.
In the following commands the DHCP server is, the Router is and the range we want to create runs

from 100 till 200. The DNS servers are and

netsh Dhcp Server add scope "Lubby DHCP Range" "Lubby DHCP Range"
netsh Dhcp Server Scope set state 0
netsh Dhcp Server Scope Add iprange
netsh Dhcp Server Scope set optionvalue 51 DWORD "691200"
netsh Dhcp Server Scope set optionvalue 3 IPADDRESS ""
netsh Dhcp Server Scope set optionvalue 6 IPADDRESS "" ""


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring