I have a laptop computer I use as a "mule" to transfer large files from the
office computer to the home computer.
At the office I use the LAN settings for the network connection (IP,
gateway, DNS server address), and at home I use different network connection
settings to connect the two computers using a crossover cable.
Currently, I have to manually change settings each time.
Is there a way to fast switch between the two settings or to set common
settings ?
"Crios" <cristian.iosifescu@ugal.ro> wrote in message
news:OYqtS%23FdHHA.420@TK2MSFTNGP04.phx.gbl...
> I have a laptop computer I use as a "mule" to transfer large files from
the
> office computer to the home computer.
>
> At the office I use the LAN settings for the network connection (IP,
> gateway, DNS server address), and at home I use different network
connection
> settings to connect the two computers using a crossover cable.
>
> Currently, I have to manually change settings each time.
> Is there a way to fast switch between the two settings or to set common
> settings ?
>
> Thanx
>
> Crios
>
>
Here are a couple of options:
- Don't use the laptop as a "mule" - use a flash disk or a hard disk
in a USB case.
- Use DHCP at both ends.
You can easily do with netsh commands in a shell script.
1 to set ip address and subnet, 2 to clear previous dns server ip's, 3 to
set primary dns server, 4 to set alt dns server, 5 to set ip address DHCP
assigned
1.) netsh interface ip set address name="Local Area Connection"
source=static addr=192.168.10.10 mask=255.255.255.0 gateway=none
2.) netsh interface ip delete dns name="Local Area Connection" addr=all
3.) netsh interface ip set dns name="Local Area Connection" source=static
addr=192.168.20.20
4.) netsh interface ip add dns name="Local Area Connection"
addr=192.168.30.30
5.) netsh interface ip set address name="Local Area Connection" source=dhcp
Where "Local Area Connection" is the name of your connection. (watch for
line wrap)
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows] http://www.microsoft.com/protect
"Crios" wrote:
>I have a laptop computer I use as a "mule" to transfer large files from the
>office computer to the home computer.
>
> At the office I use the LAN settings for the network connection (IP,
> gateway, DNS server address), and at home I use different network
> connection settings to connect the two computers using a crossover cable.
>
> Currently, I have to manually change settings each time.
> Is there a way to fast switch between the two settings or to set common
> settings ?
>
> Thanx
>
> Crios
>
--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart
Display\Security
Win 95/98/Me/XP Tweaks and Fixes http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Crios" <cristian.iosifescu@ugal.ro> wrote in message
news:OYqtS%23FdHHA.420@TK2MSFTNGP04.phx.gbl...
>I have a laptop computer I use as a "mule" to transfer large files from the
>office computer to the home computer.
>
> At the office I use the LAN settings for the network connection (IP,
> gateway, DNS server address), and at home I use different network
> connection settings to connect the two computers using a crossover cable.
>
> Currently, I have to manually change settings each time.
> Is there a way to fast switch between the two settings or to set common
> settings ?
>
> Thanx
>
> Crios
>