Skip to content

Instantly share code, notes, and snippets.

@JackieKu
Last active September 4, 2015 10:14
Show Gist options
  • Save JackieKu/306539 to your computer and use it in GitHub Desktop.
Save JackieKu/306539 to your computer and use it in GitHub Desktop.
# set static IP
netsh interface ip set address eth0 static 192.168.11.1 255.255.255.252
# set dhcp
netsh interface ip set address eth0 dhcp
# set MTU
netsh interface ipv4 set subinterface "Local Area Connection" mtu=9000 store=persistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment