Setting IP Address at Command-lineWindows XP/2003 and above contain commands which allow configuration of the machine's IP address at the command-line. Static AddressTo set the IP address: netsh interface ip set address local static <IP address> <subnet mask> <gateway> <metric of gateway> For example: netsh interface ip set address local static 192.168.0.100 255.255.255.0 192.168.0.1 1 To set DNS: netsh interface ip set dns local static 192.168.0.150 primary Dynamic Addressnetsh interface ip set address local source=dhcp netsh interface ip set dns local source=dhcp See AlsoCopyright © 1996-2023 Cadzow TECH Pty. Ltd. All rights reserved. Information and prices contained in this website may change without notice. Terms of use. Question/comment about this page? Please email webguru@cadzow.com.au |