There are conflicts of IP addresses everywhere, most typical case would be home networking using DHCP and office network use Static IP due to security measurement. Switch them would be quite troublesome.
The harder way is to do it via command prompt. To change DHCP address to static IP:
netsh interface ip set address name=”<network connection name>” static <static IP> <network mask> <default gateway>
eg. netsh interface ip set address name=”Ethernet Network Connection” static 192.168.0.10 255.255.255.0 192.168.0.1
To change it back to DHCP client:
netsh interface ip set address name=”<network connection name>” dhcp
eg. netsh interface ip set address name=”Ethernet Network Connection” dhcp
Other than these, changing the DNS server manually would be:
netsh interface ip set dns name=”<network connection name>” static <DNS server IP address>
eg.netsh interface ip set dns name=”Ethernet Network Connection” static 192.168.0.1 (assume the gateway is same as DNS server)
Lastly, changing the WINS server manually would be:
netsh interface ip set wins name=”<network connection name>” static <DNS server IP address>
eg.netsh interface ip set wins name=”Ethernet Network Connection” static 192.168.0.1 (assume the gateway is same as WINS server)
Troublesome, isn’t it? What if you put all the commands into one batch file (.bat), with one click, it is easier than GUI!
Reference:
- Configure TCP/IP from the Command Prompt
- Microsft Help and Support:How to Use the NETSH Command to Change from Static IP Address to DHCP in Windows 2000
This blog helped me to change ip address in windows xp.
Thanks for your comment!
Thanks for great posting, will back to read other useful post
Thank you, these blogs are merely for my own notes, as my brain memory is limited and unstable.
i don’t understand that…
How can I find more information related to this post? Its very interesting and I think this will benefit others after reading through the provided material. Thank you and keep up the good work!
you can refer the reference links at the end of the post. Always remember that: Google is your best friend! ^_^