Multiple Fixed IP addresses

M

Mike McConnell

I have two routers, a Linksys operating in the 192.168.1.0 subnet and a
Buffalo in the 192.168.11.0 subnet. I have been given to understand that, if
I give my network adapter (in this case a wireless adapter) fixed addresses:

IP address - 192.168.1.5

Subnet Mask - 255.255.255.0

Default Gateway - 192.168.1.1

DNS server {my ISP's DNS server addresses}

then click the "Advanced" button and "Add" a second configuration:

IP address - 192.168.11.5

Subnet Mask - 255.255.255.0

Default Gateway - 192.168.11.1

then the adapter should be able to connect to either router automatically
using the appropriate addresses. However, this doesn't seem to work. The
question arose in a situation where a laptop has to be able to connect to
two networks at different locations but with a fixed IP address at each.

Should this scenario work?
 
S

Steve Winograd [MVP]

"Mike said:
I have two routers, a Linksys operating in the 192.168.1.0 subnet and a
Buffalo in the 192.168.11.0 subnet. I have been given to understand that, if
I give my network adapter (in this case a wireless adapter) fixed addresses:

IP address - 192.168.1.5

Subnet Mask - 255.255.255.0

Default Gateway - 192.168.1.1

DNS server {my ISP's DNS server addresses}

then click the "Advanced" button and "Add" a second configuration:

IP address - 192.168.11.5

Subnet Mask - 255.255.255.0

Default Gateway - 192.168.11.1

then the adapter should be able to connect to either router automatically
using the appropriate addresses. However, this doesn't seem to work. The
question arose in a situation where a laptop has to be able to connect to
two networks at different locations but with a fixed IP address at each.

Should this scenario work?

You've specified two default gateways. However, Windows XP will only
use one of them, and it won't necessarily be the one that you want.
For example, it might try to use the Linksys gateway when you're
connected to the Buffalo. Internet access won't work in that case.

Why are you using fixed IP addresses? It would be simpler to
configure the wireless network connection to obtain an IP address
automatically. Whichever router you connect to will give the
computer its TCP/IP configuration, including the correct default
gateway.

You might be able to specify a "static DHCP" option in the routers.
That would tell them to always assign the same IP address to your
computer.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top