General discussion

Locked

Changing IP address and Gateway

By rajivnarayanan@hotmail ·
Is there a way to change the IP , Gateway and Subnet mask address through command prompt rather than the conventional Network Neighborhood > properties way ?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Changing IP address and Gateway

by deltree In reply to Changing IP address and G ...

These settings are stored in the registry.
So you could create a .reg file with the desired changes. Then create a batch file that will merged the .reg file into the registry.
Run this batch file from a command prompt if you wish.
It will require a reboot if you are using Win9x, or NT

Collapse -

Changing IP address and Gateway

Poster rated this answer

Collapse -

Changing IP address and Gateway

by Some Guy in Seattle In reply to Changing IP address and G ...

If you're using Windows 2000, see Microsoft doc Q257748 http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q257748 (no spaces).

Lots of info on the netsh command.

Collapse -

Changing IP address and Gateway

by Some Guy in Seattle In reply to Changing IP address and G ...

addendum:

Despite the header saying "change from static to DHCP" you can use this to change the static IP from one to another. Just use the appropriate choice, "dhcp" or "static" no matter what config you have your TCP/IP settings in.

Collapse -

Changing IP address and Gateway

Poster rated this answer

Back to Networks Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums