Skip to content

Instantly share code, notes, and snippets.

@litefeel
Created May 22, 2015 07:51
Show Gist options
  • Save litefeel/d81a2f47b81d36d86d9c to your computer and use it in GitHub Desktop.
Save litefeel/d81a2f47b81d36d86d9c to your computer and use it in GitHub Desktop.
:: 设置静态ip 192.168.1.246 子网掩码255.255.255.0 网关 192.168.1.1
netsh interface ip set address 本地连接 static 192.168.1.246 255.255.255.0 192.168.1.1 1
:: 设置动态ip
netsh interface ip set address 本地连接 dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment