labs. bfloch.com/script/changeip
private.  
/script /output
/links
/about



 »    
09/May/19
tool, release

 
» changeip

I’ve put a little command line batch utility to the output [1] which enables you to easily change your IP address from within the commandline in windows.
Tested on XP SP3.

Usage:
------
changeip.bat adapter static|dhcp [IP] [Gateway] [DNS]

Examples:
---------
Change Network adapter "LAN" to dhcp
changeip.bat "LAN" dhcp

Change Network adapter "LAN" to IP 192.168.0.1 (leave Gateway and DNS as is)
changeip.bat "LAN" static 192.168.0.1

Change Network adapter "LAN" to IP 192.168.0.1 (Gateway and DNS to none)
changeip.bat "LAN" static 192.168.0.1 none none

Change Network adapter "LAN" to IP 192.168.0.1 with gateway 192.168.0.2
and DNS 192.168.0.4
changeip.bat "LAN" static 192.168.0.1 192.168.0.2 192.168.0.4

Look for it under tools/other.

[1] output (labs.bfloch.com)

..................................................

Comments:

No Comments for this post yet...

This post has 2 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))