Created
March 8, 2016 15:53
-
-
Save CTimmerman/f9fd9f37741d571b1d64 to your computer and use it in GitHub Desktop.
The alternate ethernet configuration in Windows 10 didn't seem to work for me, so i had to manually use DHCP. To quickly restore fixed IP settings (with Google DNS), use this batch file.
This file contains 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
netsh interface ipv4 set address "Local Area Connection" static 10.0.0.2 255.0.0.0 10.0.0.1 | |
netsh interface ipv4 add dnsserver "Local Area Connection" address=8.8.8.8 index=1 | |
netsh interface ipv4 add dnsserver "Local Area Connection" address=8.8.4.4 index=2 | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment