PC Review


Reply
Thread Tools Rate Thread

Configuring a laptop to connect to two different networks

 
 
=?Utf-8?B?TWFyayBX?=
Guest
Posts: n/a
 
      31st Mar 2004
I have set up a laptop w/ Windows 2000 pro to access our business network and DSL but when the laptop is taken home I have to manually change the IP settings to get it to work with my Cable connection. I know there must be a better way to do this can anyone provide some assistance

Thank

 
Reply With Quote
 
 
 
 
Marina Roos [SBS-MVP]
Guest
Posts: n/a
 
      31st Mar 2004
Go to www.globesoft.com and get multinetworkmanager.

--
Regards,

Marina
Microsoft SBS-MVP

"Mark W" <(E-Mail Removed)> schreef in bericht
news:6639125D-45F6-4032-A043-(E-Mail Removed)...
> I have set up a laptop w/ Windows 2000 pro to access our business network

and DSL but when the laptop is taken home I have to manually change the IP
settings to get it to work with my Cable connection. I know there must be a
better way to do this can anyone provide some assistance?
>
> Thanks
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      31st Mar 2004
Setup 2 hardware profiles. One for work & one for home.
Your not really changing any hardware per se but, only
changing the config of your NIC.

>-----Original Message-----
>I have set up a laptop w/ Windows 2000 pro to access our

business network and DSL but when the laptop is taken home
I have to manually change the IP settings to get it to
work with my Cable connection. I know there must be a
better way to do this can anyone provide some assistance?
>
>Thanks
>
>.
>

 
Reply With Quote
 
=?Utf-8?B?TWFyayBX?=
Guest
Posts: n/a
 
      31st Mar 2004
Tried that but the IP address was not retained when I changed profiles.
 
Reply With Quote
 
Ayhan
Guest
Posts: n/a
 
      2nd Apr 2004
strIPaddr=Array("XXX,xXX,XXX,XXX")
strSNMask=Array("XXX,xXX,XXX,XXX")
strGateway=Array("XXX,xXX,XXX,XXX")
strPWINS="XXX,xXX,XXX,XXX"
strSWINS="XXX,xXX,XXX,XXX"
strPDNS= "XXX,xXX,XXX,XXX"
strSDNS= "XXX,xXX,XXX,XXX"
strDNSServer=Array(strPDNS, strSDNS)

Set objService=GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objEnumerator=objService.ExecQuery("Select * From
Win32_NetworkAdapterConfiguration Where DatabasePath IS NOT NULL")

objService.Security_.impersonationlevel = 3

For Each objInstance in objEnumerator
intStatus=objInstance.SetWINSServer (strPWINS, strSWINS)
intStatus=objInstance.SetDNSServerSearchOrder(strDNSServer)
intStatus=objInstance.EnableStatic (strIPaddr, strSNMask)
intStatus=objInstance.SetGateways(strGateway)
Next





"Mark W" <(E-Mail Removed)> wrote in message
news:879AAB00-DF74-4C54-99E6-(E-Mail Removed)...
> Tried that but the IP address was not retained when I changed profiles.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: my HP laptop wont connect to any wireless networks Robert L. \(MS-MVP\) Windows Vista Networking 0 12th Jan 2009 06:44 PM
How to connect laptop to both home (workgroup) and office (domain) networks? Philip Herlihy Microsoft Windows 2000 Networking 15 2nd May 2005 04:10 PM
How to connect laptop to both home (workgroup) and office (domain) networks? Philip Herlihy Windows XP Networking 15 2nd May 2005 04:10 PM
Using Laptop to connect to two different networks. Robert Thomas Microsoft Windows 2000 Networking 1 25th Nov 2003 03:49 PM
Configuring laptop for two networks. Mike Windows XP Networking 0 9th Sep 2003 05:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 AM.