The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Cable & ADSL in one network



Derek

The code I use is:

netsh interface ip set address "local area connection" static
170.1.x.x
255.255.255.0 170.1.x.x 1
netsh interface ip set dns "local area connection" static
10.70.x.x

Just create a batch file with the above text changing "local area
connection" to the name of your connection/card then put in the IP
address,
subnet and gateway you want to use.
The second line is if you need to change DNS servers as well.
Then if you need to change connection just run the appropriate batch file.

Mark.


----- Original Message -----
From: "Derek Erb" <dce42@xxxxxxx>
To: <ukha_d@xxxxxxx>
Sent: Sunday, September 28, 2003 11:01 AM
Subject: [ukha_d] Re: Cable & ADSL in one network


> --- In ukha_d@xxxxxxx, "Mark" <groups@w...> wrote:
>
> > Then if you have any problems with the ADSL link just change the
> gateway.
> > Saves have to keep unplugging routers etc.
> >
> > This can even be done with a batch file. Which is what I do to
> change my
> > laptop when I visit various sites.
>
> You're the second one to mention this possibility.  Could you give
> me the code you use to change the gateways from within a BAT file?
>
> Thanks,
>
>
>
> UKHA 2004: 15th and 16th May 2004
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe:  ukha_d-subscribe@xxxxxxx
> Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> List owner:  ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.