Need Dual Network Help Plz

mikeg

Golden Member
Oct 10, 1999
1,304
0
76
Ok i got a computer running windows XP. It has 2 network cards. One is uses for on a LAN for a invintory and POS system. The other connection is a wireless system that is used to connect to the internet. The wired lan system uses a static IP and gateway so I set that up. and it works ok. Then I install the wireless card and then try to use it to get to the internet it wont connect unless I disable the wired connection. What do I need to do to get them both to connect. Is there anything I can do in windows XP to make it use the wireless card to connect to the internet.
Thanks for any help
Mike
 

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
Make sure you have the default gateway setup on both the nics pointing towards the router on the wireless side.
 

mikeg

Golden Member
Oct 10, 1999
1,304
0
76
I really can't do that because the software I use needs that gateway number to get to the Local lan server witch is for the POS system. Any other Ideas
 

MysticLlama

Golden Member
Sep 19, 2000
1,003
0
0
It sounds like you need a couple of route statements.

The best way to do it that I can think of would be to set your default gateway to the wireless, so that all unmatched traffic will go out that way to whatever IP. Even with different default gateways on two different adapters, Windows still only uses one of them, so you want to put it in on the wireless connection and leave the other blank.

Then you need to add a route statement for your local LAN.

If your lan was for instance 192.168.0.0 255.255.255.0 and your gateway was 192.168.0.1, you'd add it like so, at the command prompt:

route add 192.168.0.0 mask 255.255.255.0 192.168.0.1

That should match all traffic on the local LAN and send it to the correct gateway.
 

mikeg

Golden Member
Oct 10, 1999
1,304
0
76
ok so how do I add route stements to the os? where do I set that up?