1.

Solve : changing ipnumber?

Answer»

there's one thing i never done before and that is changing my ip from dos
iv'e allready googled and didn't found any answers so i decided to ask in here.


Quote

if theres a POSSIBILITY i want to know how to make a batch file that changes my
automatic received ip number to a local ipnumber such as 192.168.0.66

i want to be able to change the local ip number and also a possibility to
change it BACK to automatic with automatic dns.
I am not professional with this but I fear that it's impossible. Probably changing you IP can be done but changing it from automatic to manual...
If I'm not wrong you might try finding a .com or .exe written especially for networking configuration, put it in your system folder and USE it through batch.

Again, sorry if I am totally wrong. Don't trust me I'm not 100% sure either but I remember reading somewhere that you cannot change your IP through a Batch file.

Any reason why you want to change your IP?becuse some times i use a crossed network cable between me and my friends computer and then i have to write in local ip manually, and some times i use my router.

okey but is there a possibility that I can handle that with c++?Quote
okey but is there a possibility that I can handle that with c++?
I think you can only change your IP if you contact your ISP but I'm not really sure.

Hang tight and someone will give you a straight answer. Depending on your OS you might have access to the netsh utility. CHECK out this link to find out how it may be helpful.

Good luck.



Quote from: Sidewinder on June 23, 2008, 07:07:11 AM
Depending on your OS you might have access to the netsh utility. Check out this link to find out how it may be helpful.

Good luck.






thank you side it was the answer i was looking for =)Heh, nice one...TNX, Learnt that Netsh is the app. I was aiming at in my first reply


Discussion

No Comment Found