Created
September 14, 2020 15:17
-
-
Save jimdiroffii/33575397e48799486de865678d0f34b8 to your computer and use it in GitHub Desktop.
Set Static IP in Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem Setting Static IP for interface "Local Area Connection" | |
netsh interface ip set address name = "Local Area Connection" static 192.168.1.1 255.255.255.0 192.168.1.254 1 | |
netsh int ip set dns name = "Local Area Connection" source= static addr = 208.67.220.220 | |
netsh int ip add dns name = "Local Area Connection" addr = 208.67.222.222 index =2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment