Skip to content

Instantly share code, notes, and snippets.

@engalar
Created February 7, 2018 00:52
Show Gist options
  • Save engalar/07fbb2a86d457dc0cadb2101befa988d to your computer and use it in GitHub Desktop.
Save engalar/07fbb2a86d457dc0cadb2101befa988d to your computer and use it in GitHub Desktop.
windows ip setting
netsh interface ip set address name="以太网" static 10.231.131.56 255.255.255.0 10.231.131.254
netsh interface ip set dns name="以太网" source=static addr=none
netsh interface ip add dns name="以太网" addr=8.8.4.4 index=1
netsh interface ip add dns name="以太网" addr=10.220.130.221 index=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment