How to change ip address in windows with comannd prompt
The command is:
to change IP and default gateway:
netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254 1
to change DNS:
netsh int ip set dns "local area connection" static 192.168.0.254 primary
This is assuming 3 things.
1) The network adapter you're trying to change the IP for is "local area connection". It could also be "local area connection 2" or "wireless network connection". Look in your control panel for the correct name
2) The IP you want to set is 192.168.0.101, change this to whatever IP to want to use.
3) The default gateway and dns are the same IP. If you are using some kind of router they usually are. Change this to match your network config found with the command ipconfig /all
You will need to run both commands to change the IP.
The command is:
to change IP and default gateway:
netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254 1
to change DNS:
netsh int ip set dns "local area connection" static 192.168.0.254 primary
This is assuming 3 things.
1) The network adapter you're trying to change the IP for is "local area connection". It could also be "local area connection 2" or "wireless network connection". Look in your control panel for the correct name
2) The IP you want to set is 192.168.0.101, change this to whatever IP to want to use.
3) The default gateway and dns are the same IP. If you are using some kind of router they usually are. Change this to match your network config found with the command ipconfig /all
You will need to run both commands to change the IP.
Intersting and beautiful blog lovely presentation thanks for sharing your views...About us - we24support @ 1 888 399 9656
ReplyDeleteIntersting and beautiful blog lovely presentation thanks for sharing your views...contact us we24support.com
There are two types of ip address we are using 1)Static ip address 2)Dyamic ip address. If your ip address is static you cannot change. But if your ip address is dynamic you can change easily . If you want to change your dynamic ip using the following method:
ReplyDeleteStep 1:
Go to Start-> Run-> Cmd
Press Enter.. Type in ipconfig/release for Current IP address and then type ipconfig/renew for New IP address. or you can do it the the following second method
Step 2 :
You can change easily turn off your computer or modem and on. Doing either step 1 or 2 will change your Dynamic IP address To check the ip address before and after changing, Visit the site Ip-details.com .Here you can search IP,domain host and it also includes city, country, global latitude & longitude coordinates etc.
Very informative post about how to change ip address in windows in window. Thanks for sharing visit http://tekpc.us or dial 1-855-480-7873 Toll Free for instant support.
ReplyDelete