Dhcp.cmd: Revision history

From Federal Burro of Information
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 February 2023

  • curprev 18:1618:16, 26 February 2023David talk contribs 766 bytes +21 No edit summary
  • curprev 17:3917:39, 26 February 2023David talk contribs 745 bytes +745 Created page with "<pre> # This is a widows cmd script. # It's meant to be run on tio-ads server. # You should change the MAC address, hostname and IP address to match your server. set subnetwork=172.31.4.0 set IPAddress=172.31.4.XX set mac_address=XX set machine_name=ibmbcXXbXX set BootServerIP=172.31.4.250 netsh dhcp server scope %subnetwork% add reservedip %IPAddress% %mac_address% %machine_name% "DHCP for %machine_name%" BOTH netsh dhcp server scope %subnetwork% set reservedoptionvalue..."