Connecting Tech Pros Worldwide Help | Site Map

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

  #1  
Old October 31st, 2006, 08:50 AM
Newbie
 
Join Date: Aug 2006
Posts: 10
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
  #2  
Old October 31st, 2006, 09:32 AM
Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269

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


Using SNMP concet tyo reboot the remote system

vssp
  #3  
Old October 31st, 2006, 09:33 AM
Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269

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
  #4  
Old October 31st, 2006, 09:56 AM
Newbie
 
Join Date: Aug 2006
Posts: 10

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
  #5  
Old October 31st, 2006, 10:56 AM
Member
 
Join Date: Oct 2006
Posts: 34

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.
  #6  
Old November 9th, 2006, 10:12 PM
Newbie
 
Join Date: Nov 2006
Posts: 1

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.

Last edited by camcairns; November 9th, 2006 at 10:13 PM. Reason: Made a mistake MMI should be WMI
  #7  
Old February 14th, 2007, 09:20 AM
Newbie
 
Join Date: Aug 2006
Posts: 10

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
  #8  
Old February 14th, 2007, 09:42 AM
Newbie
 
Join Date: Aug 2006
Posts: 10

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