Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

How can I automate the change of IP Address and other networ

 
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp network_web
View previous topic :: View next topic  
Author Message
EMoscosoCam
Guest





PostPosted: Wed Mar 05, 2008 4:28 pm    Post subject: How can I automate the change of IP Address and other networ Reply with quote

Hello

I have a laptop with a certain network configuration (with a static IP
address). The laptop belong to a certain LAN. Now, suppose that I want to
connect the laptop to another LAN by changing the ethernet cable. I would
like to automate the change in the network configuration by using a script.
Is it possible? Does anyone have develop a script like this?

By the way, is there another way to accomplish the same thing? That is, to
make a PC to belong to 2 LANs (not necessarily at the same time).

Thanks a lot.
Back to top
Google
Sponsor





PostPosted: Wed Mar 05, 2008 4:28 pm    Post subject: Advertisement

Back to top
Robert L. (MS-MVP)
Guest





PostPosted: Wed Mar 05, 2008 7:50 pm    Post subject: Re: How can I automate the change of IP Address and other ne Reply with quote

I am not sure you can do it automatically, but you may try netsh.

netsh commandWhat's Netsh? How to run netsh How to configure the TCP/IP
protocol How to check the connection and opened port How to use netsh
commands for remote access ...
www.chicagotech.net/netsh.htm


--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"EMoscosoCam" <EMoscosoCam@discussions.microsoft.com> wrote in message
news:F9F89CD2-0D2A-44C2-B49A-7EC185CD90B1@microsoft.com...
Quote:
Hello

I have a laptop with a certain network configuration (with a static IP
address). The laptop belong to a certain LAN. Now, suppose that I want to
connect the laptop to another LAN by changing the ethernet cable. I would
like to automate the change in the network configuration by using a
script.
Is it possible? Does anyone have develop a script like this?

By the way, is there another way to accomplish the same thing? That is, to
make a PC to belong to 2 LANs (not necessarily at the same time).

Thanks a lot.
Back to top
Jack (MVP-Networking).
Guest





PostPosted: Wed Mar 05, 2008 8:45 pm    Post subject: Re: How can I automate the change of IP Address and other ne Reply with quote

Hi
May be this can Help.
How to Configure a Laptop (or any computer) to connect to more than one
Network? http://www.ezlan.net/faq.html#fewtcp-ip
Jack (MVP-Networking).

"EMoscosoCam" <EMoscosoCam@discussions.microsoft.com> wrote in message
news:F9F89CD2-0D2A-44C2-B49A-7EC185CD90B1@microsoft.com...
Quote:
Hello

I have a laptop with a certain network configuration (with a static IP
address). The laptop belong to a certain LAN. Now, suppose that I want to
connect the laptop to another LAN by changing the ethernet cable. I would
like to automate the change in the network configuration by using a
script.
Is it possible? Does anyone have develop a script like this?

By the way, is there another way to accomplish the same thing? That is, to
make a PC to belong to 2 LANs (not necessarily at the same time).

Thanks a lot.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp network_web All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum