Connecting Tech Pros Worldwide Forums | Help | Site Map

How to Change Local Machine IP Address without rebooting the machine using VB.Net

Newbie
 
Join Date: Aug 2006
Posts: 10
#1: Oct 31 '06
Hi All,

How can I Change Local Machine IP Address without rebooting the machine using VB.Net.

As I want to shift from one IP address to another IP address with application the effect should take place without rebooting the system.

Thanks in advance.
Raju

Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269
#2: Oct 31 '06

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


Using SNMP concet tyo reboot the remote system

vssp
Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269
#3: Oct 31 '06

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


For windows system WMI consept also easy to reboot sysytem

vssp
Newbie
 
Join Date: Aug 2006
Posts: 10
#4: Oct 31 '06

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


Quote:

Originally Posted by vssp

For windows system WMI consept also easy to reboot sysytem

vssp

Hi,

Thanks for your response....but my query is how to change the IP address of a local machine and the changes should effect without rebooting the local machine.

thanks
Member
 
Join Date: Oct 2006
Posts: 34
#5: Oct 31 '06

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.
Newbie
 
Join Date: Nov 2006
Posts: 1
#6: Nov 9 '06

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


Note that you can only use the WMI to change the IP if you are the Administrator.
Newbie
 
Join Date: Aug 2006
Posts: 10
#7: Feb 14 '07

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


Quote:

Originally Posted by seralasu

netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.


Thanks for your response.....but I need something little bit elaborately....

thanks
raju
Newbie
 
Join Date: Aug 2006
Posts: 10
#8: Feb 14 '07

re: How to Change Local Machine IP Address without rebooting the machine using VB.Net


Quote:

Originally Posted by seralasu

netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.


Thanks .....I got it......it really serves my purpose....

Raju
Closed Thread