Thursday, December 04, 2014

/31 aka netmask with Windows

Windows GUI prevents you from setting this with helpful error message of "All of the bits in the host address portion of the IP address are set to 0". IP stack seems to be fine with /31 networks so just set it from CLI.

netsh interface show interface

netsh interface ip set address name="Local Area Connection" source=static addr= mask= gateway=10.71l.219.239

1 comment:

  1. Thanks for the manual. CMD should ne runned as Administrator.


Got something to say?!