Re: different ip addresses at different locations

From: Shenan Stanley (news_helper_at_hushmail.com)
Date: 04/02/04


Date: Fri, 2 Apr 2004 06:22:51 -0600

Cathryn wrote:
> I have two locations (main office and a remote site) Both locations
> have static IP addressing schemes that are different. I need to have
> the user login in to either site with the the correct ip address,
> subnetmask, gateway and dns servers.
>
> I tried hardware profiles but that does work. Each time I change the
> IP address it changes it for all profiles. There is only one
> ethernet card as it is a laptop.
>
> Neither locations have a DHCP in existence.
>
> Help I can't find anything on this.

Lanwench [MVP - Exchange] wrote:
> Just curious - why are you not using DHCP??

Depending on how you mean that question, Lanwench; either they already gave
you that answer or they don't have control over the network at either
location.

Marc gave you one solution - third party products.

Another solution would require some user knowledge/experience, but not much.
Even assuming they must log into a domain, the machine will cache the logon
and then, given the user have the correct rights, they could use a batch
script you write for them to change the IP appropriately.

We do this in several locations. Using a NETSH dump for each site and
applying those dumps using the scripts. We have as many scripts on the
laptop as the user has locations without DHCP and they run the appropriate
script.

Do a GOOGLE search for NETSH for more information, but essentially:

To Save the current Settings, type the following command:

netsh -c interface dump >settingssiteone.txt

You can then create a dump file for every network that you use.

To load a set of settings again, type the following command:

netsh -f settingssiteone.txt

-- 
<- Shenan ->
-- 


Relevant Pages

  • Re: different ip addresses at different locations
    ... > script you write for them to change the IP appropriately. ... > Do a GOOGLE search for NETSH for more information, ... > You can then create a dump file for every network that you use. ... > To load a set of settings again, type the following command: ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Dual static IPs on XP SP2
    ... > Use NETSH to create a script to run to change your location (work or ... Netsh did the trick. ... Seems like a bit of a stretch to expect end users to set up DHCP at ...
    (microsoft.public.windowsxp.work_remotely)
  • [Summary] puzzle with cold mirror script
    ... puzzle with cold mirror script ... DUMP: Date of last level 0 dump: the epoch ... all the disk information and a listing of the script follows. ... /export/home/chris# format ...
    (SunManagers)
  • Re: Wikipedia - conversion of in SQL database stored data to HTML
    ... is a Perl script to convert a Wikipedia SQL dump ... size of the SQL dump. ... >> I loaded all of the Wikipedia data into a local MySQL server a while ...
    (comp.lang.python)
  • Re: Datei und Druckerfreigabe per GPO aktivieren
    ... Clients aktivieren? ... wenn ich das Script per GPO zuweise ... Netsh und andere VBs ...
    (microsoft.public.de.german.windows.server.active_directory)