How can I automate the change of IP Address and other network conf

  • Thread starter Thread starter EMoscosoCam
  • Start date Start date
E

EMoscosoCam

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.
 
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
 
Back
Top