Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 20-09-2005, 10:27 PM   #1 (permalink)
Apprentice
 
Join Date: Jul 2004
Location: Pune
Posts: 70
Default how to automate IP address changing?


my net connection is through LAN. initially the computers in our area had specific IP addresses set and login was through a PPOE dialer. but now the login is through a web based page instead of a dialer and somehow this requires all computers to have NO IP addresses set (in LAN / TCP/IP settings "Obtain IP Address Automatically" is selected). this prohibits us from connecting computers directly to share files and gaming.
as of now we are manually changing the IPs to switch between the net conn and our workgroup, normally 2-3 times a day! is there a way to automate this? like run a script or a bat file which could change the IP from a specific one to "automatic" and reverse?
kikass is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-09-2005, 11:05 AM   #2 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Location: Belgaum
Posts: 745
Default

Take a look at this piece of information.

Change IP address the automatic way
__________________
The protection of a machine is a process & not a given -Duane Arnold.
www.Oobertech.net
Look ma my blog http://techhub.blogspot.com/
digen is offline  
Old 21-09-2005, 12:55 PM   #3 (permalink)
Apprentice
 
Join Date: Jul 2004
Location: Pune
Posts: 70
Default

thanx digen. thats really helped. but still got one question, how to set it back to "automatically Obtain IP"? what will be the command for that? is "automatic" same as "switching back to using DHCP"?
kikass is offline  
Old 25-09-2005, 01:11 PM   #4 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Location: Belgaum
Posts: 745
Default

Sorry for replying late.Somehow missed this thread.

Anyways for your query you can make a separate batch file for "Automatically obtain IP address"[DHCP] with the help of netsh.

So now you have 2 batch files.One with the static IP settings & the second for obtaining through a DHCP server.This should serve your purpose well I believe.
__________________
The protection of a machine is a process & not a given -Duane Arnold.
www.Oobertech.net
Look ma my blog http://techhub.blogspot.com/
digen is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by Charan

Advertisement




All times are GMT +5.5. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2