View Full Version : Set static IP
steve@trimpos.net
09-25-2017, 12:08 PM
I have played around and understand using the Get System Info function to retrieve the network IP address. I would like to take this further and get the IP address, Subnet, Gateway and DNS server settings then take what is returned and have the installer physically set the computer to use these as a static IP. Example, the computer is currently set to use a DHCP server to obtain an IP address, The installer would take the address the DHCP server returned then set it as a static IP. We need a static IP addresses set to connect to different programs/hardware and it is sometimes difficult to explain to customers how to set.
linder
09-26-2017, 02:57 AM
Hi Steve,
how would you do this without SetupBuilder. Perhaps I can help to convert this method to SetupBuilder script.
BTW, I checked this and I think we can retrieve the following additional information (see attached screenshot).
Friedrich
steve@trimpos.net
09-27-2017, 02:46 PM
Currently use Netsh command at DOS.
Step 1 run "Netsh interface ip show config"
which will return the current IP address then run
"netsh interface ip set address "Local Area Connection" static {ipaddr} {subnetmask} {gateway} {metric}"
Example netsh interface ip set address "Local Area Connection" static 10.10.2.42 255.255.255.0 10.10.2.1 1
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.