Wednesday, April 23, 2008

Change TCP/IP gateway via comman line interface

Set the gateway to 192.168.1.10:
d:\>netsh interface ip set address name="wireless" gateway=192.168.1.10 gwmetric=0
Set to the gateway provided by DHCP:
d:\>netsh interface ip set address name="wireless" gateway=none
~ts

No comments:

Test page for code formatting

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 1...