0

I'm not able to permanently replace my Ip addresses using NETSH. I've tried all possible options but nothing. when I reboot the computer I get my old IPs.

I'm this was done before...

any idea? Thanks!! E.

edotan
  • 1,876
  • 13
  • 39
  • 57

1 Answers1

1

Which OS? The following will work on Vista onwards:

netsh int ipv4 set address "Local Area Network" static <IP address> <subnet mask> <gateway> <metric>

eg.

netsh int ipv4 set address "Local Area Network" static 192.168.1.100 255.255.255.0 192.168.1.1 1

You may need to replace "Local Area Network" with whatever the friendly name for the interface is, which you can check with ipconfig /all.

Replace ipv4 with ip for XP/2000/2003.

paradroid
  • 868
  • 5
  • 15
  • 29