netsh interface ip set address name="Local Area Connection" static <ipaddress> <subnet mask> <default gateway>
example : netsh interface ip set address name="Local Area Connection" static 10.0.8.34 255.255.255.0 10.0.8.1
changes ip address to 10.0.8.34, subnet mask to 255.255.255.0. and default gateway to 10.0.8.1
Note: Command Prompt must be run with administrative privileges.
No comments:
Post a Comment