From: George on
Dennis wrote:
> On Nov 25, 10:47 am, Dennis <splif...(a)gmail.com> wrote:
>> I'd like my wireless card to automatically use certain IP addresses
>> when I connect to certain access points. Is there any way to do this?
>>
>> ie:
>>
>> When connecting to AP "linksys39" it should automatically use
>> 192.168.0.1
>> When connecting to AP "dlink984" it should automatically use
>> 192.168.1.100
>>
>> Is there anyway to set this up? I'm tired of manually changing my ip/
>> gateway/dns settings.
>>
>> TIA
>
> ps - I'm on Windows 7 and dhcp is not an option
>
>
DHCP is a pretty elegant way to do it. Why isn't it an option?
From: Jeff Liebermann on
On Wed, 25 Nov 2009 07:50:29 -0800 (PST), Dennis <spliffeh(a)gmail.com>
wrote:

>ps - I'm on Windows 7 and dhcp is not an option

Agreed. DHCP is not an option. It's standard with every distribution
of Windoze 7 by default. If you don't see it as an option (whatever
that means), you probably have the DHCP client service disabled.
<http://www.blackviper.com/Windows_7/Services/DHCP_Client.htm>


--
Jeff Liebermann jeffl(a)cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
From: Bill Kearney on
>> Is there anyway to set this up? I'm tired of manually changing my ip/
>> gateway/dns settings.
>
> Why are you trying to overide the one assigned automatically? (ie... use
> server assigned ip address, rather than force one in by saying use this
> instead)

I can think of several situations where it would be desirable to use a
specific address. Let's say you're going to a number of different sites and
have an assigned address for your use at those sites. And that the sites do
not have their DHCP configured to reserve one for you. Setting your address
manually would be necessary.

Yes, using DHCP is quite often a better solution. But not all situations
will allow for it.

It's been a while since I've looked into this, but what's the state of a
"location" sort of profile for Windows? That seems like it'd be a viable
solution. Set up each 'location' and then switch between them as you move.

Alternatively you could use the 'netsh' command. Set up a batch file for
each situation. That would at least make it easier to effect the changes
after you've made the desired WiFi connection.

As with any networking situation, wired or not, you need to make sure you're
not trying to use an address that's already active and assigned.

-Bill Kearney