Jump to content
Sign in to follow this  

Resetting IP address in CMD

Recommended Posts

I need help on resseting my IP address using the windows command prompt. A short while ago my internet went down and when we phoned the tech support line we eventually found out that windows had re assigned the default IP, which the modem didnt work with.

 

We were told to enter something like ip [bit I cant remember] refresh or reset.

 

A freind on the same isp has the same problem and the tech support lines are down, anyone know what I need to type?

 

Any help greatly appreciated

 

Thanks

Share this post


Link to post
Share on other sites

ipconfig /release

 

then

 

ipconfig /renew

 

you could also double click the network icon, goto support and click repair.

Share this post


Link to post
Share on other sites
Originally posted by Cyclone

ipconfig /release

 

then

 

ipconfig /renew

 

you could also double click the network icon, goto support and click repair.

 

 

Or (from within windows) you could click <Start> - Run and type winipcfg and press <Enter>!

Share this post


Link to post
Share on other sites

Or (from within windows) you could click <Start> - Run and type winipcfg and press <Enter>!

 

I think that only works in win98, ME, etc. Im guessing he has win2k or XP as he asked specifically about CMD and not COMMAND.

 

"ipconfig /renew" is the way to do it. Im not sure that doing "ipconfig /release" first adds anything to it though?

Share this post


Link to post
Share on other sites
Originally posted by punk

I think that only works in win98, ME, etc. Im guessing he has win2k or XP as he asked specifically about CMD and not COMMAND.

 

"ipconfig /renew" is the way to do it. Im not sure that doing "ipconfig /release" first adds anything to it though?

 

it specifically informs the dhcp server that the address has been relinquished. It means that you will most likely get a different ip when you request one rather than being assigned the same one.

 

and yes, winipcfg is ME and 98 only.

Share this post


Link to post
Share on other sites

If you want to do it properly you can always flush the dns cache too!

 

Ipconfig /release

Ipconfig /flushdns

Ipconfig /renew

 

And then theres always net stat and netview to see what your connected to...i have a big list of DOS commands if anyone is remotely interested.....i sound like a geek now right? :help:

Share this post


Link to post
Share on other sites

netview? I've never heard that one, and it gives a command not found error.

Share this post


Link to post
Share on other sites
Originally posted by Cyclone

netview? I've never heard that one, and it gives a command not found error.

 

NET VIEW Displays a list of computers in a specified workgroup or the shared resources available on a specified computer.

NET VIEW (\\computer) (/YES)

NET VIEW (/WORKGROUP:wgname) (/YES)

 

 

computer Specifies the name of the computer whose shared resources you want to see listed.

/WORKGROUP Specifies that you want to view the names of the computers in another workgroup that share resources.

wgname Specifies the name of the workgroup whose computer names you want to view.

/YES Carries out the NET VIEW command without first prompting you to provide information or confirm actions.

 

To display a list of computers in your workgroup that share

resources, type NET VIEW without options.

 

_______________________________________________

 

So it is a valid command when used with the correct syntax. I have used it serveral times in the course of my job, though it is only useful in some circumstances!

Share this post


Link to post
Share on other sites

oh, the space being quite key to the command.

 

There's a whole list of net x commands.

Share this post


Link to post
Share on other sites
Originally posted by Cyclone

oh, the space being quite key to the command.

 

There's a whole list of net x commands.

 

Yeah the space is imprtant in that one - my fault! Sorry about that! ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.