Google Answers Logo
View Question
 
Q: Setting Up Primary network card with dual network cards in Windows XP ( No Answer,   5 Comments )
Question  
Subject: Setting Up Primary network card with dual network cards in Windows XP
Category: Computers > Internet
Asked by: davidlpotter-ga
List Price: $10.00
Posted: 11 Jan 2003 07:15 PST
Expires: 13 Jan 2003 04:36 PST
Question ID: 141597
I have 2 network cards in a windows xp setup. One is connected to a
hub that is then connected to my DSL router using a real ip address.

The other card is connected to a linksys dsl router set with a real ip
address for its wan address. This router is also connected to the hub
that is connected to the dsl router.

Card 1 IP address is a real IP address to the Internet.
Card 2 is set to get it's ip address from the linksys router. ie
192.168.1.159(DHCP)

The reason I want to have access to the 192.168 network is I have
other computers in the house connected to this router I need to share
drives with.

Since the Linksys router has a real ip address and is connected to the
hub which is then connected to the dsl router, all computers have
access to the internet.

The problem is on my windows machine with the 2 ethernet cards on 2
diff networks, all ip traffic is by default going to the linksys 192
network.

I would like to know how to set the network card with the real ip
address as the primary network card to have the internet us it instead
of the network card that uses the linksys router which is a port
forwarding router.

Network Diagram
 *Card1(Real IP)---------------------*Dlink Hub*-*(DSL Bridge to Internet)
 |                                       |
Computer1        Computer2,3,Etc(DHCP)   |
 |                           |           |
 *Card2(DHCP)-*(LAN)-LinkSys-|           |
                             |           |
                            WAN(Real IP)-|

Request for Question Clarification by mrbuzz-ga on 11 Jan 2003 10:00 PST
Hi davidlpotter-ga,

Interesting network setup.  I'm presuming the reason why you're doing
this is because you get multiple WAN IPs and since your router can
only capture one of them, you feel the rest of those IPs are going to
waste.

As far as I know, when dealing with multiple nics in one machine,
Windows applications tend to use the nic that most recently
established a connection.

That being said, the only thing that I can think of that might work is
if you configure your Linksys router to filter out your Card #2's LAN
IP in its filter settings.  This prevents that card from accessing the
Internet through the router.  Now the uncertainty with this is that
I'm not entirely sure if Windows will be smart enough to realize that
if one of the adapters can't use the net, it'll try to use the other. 
I don't have high hopes that this will work but it's worth a shot
nonetheless.

An alternative to this is if you actually get enough WAN IPs to use
for all your computers.  Here in Toronto, Bell's HSE DSL service gives
about 5 WAN IPs and a few friends of mine just use a hub/switch w/o a
router to the DSL modem.  Their computers still can talk to each other
through a Autoconfig IP (169.254.x.x) and through normal computer
names like \\computer1.

Anyway, let me know if the filtering works.

Good luck,
mrbuzz-ga

Request for Question Clarification by legolas-ga on 11 Jan 2003 10:32 PST
can you provide the output of the following command? Enter it at the
command prompt by going to "Start", then "Run" then "cmd". Then, at
the C:\> prompt, type:

ROUTE PRINT

Thanks

Legolas-ga

Clarification of Question by davidlpotter-ga on 11 Jan 2003 11:17 PST
Hi,

Yes I only get 4 Real IP's and I pay for 2 of them as extra. So the
other computers going thru the linksys just use 1 of 4 that I have. So
getting ip's for all my computers is not an option.

Here is my route

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x30005 ...00 60 08 07 3e de ...... 3Com 3C905TX-based Ethernet
Adapter (Generic)
0x30006 ...00 02 e3 16 8e 44 ...... NETGEAR FA311 Fast Ethernet
Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface 
Metric
          0.0.0.0          0.0.0.0      68.91.182.1   68.91.182.159	 
20
          0.0.0.0          0.0.0.0      192.168.1.1   192.168.1.163	 
20
         64.0.0.0        255.0.0.0    68.91.182.159   68.91.182.159	 
20
    68.91.182.159  255.255.255.255        127.0.0.1       127.0.0.1	 
20
   64.255.255.255  255.255.255.255    68.91.182.159   68.91.182.159	 
20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1	 
1
      192.168.1.0    255.255.255.0    192.168.1.163   192.168.1.163	 
20
    192.168.1.163  255.255.255.255        127.0.0.1       127.0.0.1	 
20
    192.168.1.255  255.255.255.255    192.168.1.163   192.168.1.163	 
20
        224.0.0.0        240.0.0.0    68.91.182.159   68.91.182.159	 
20
        224.0.0.0        240.0.0.0    192.168.1.163   192.168.1.163	 
20
  255.255.255.255  255.255.255.255    68.91.182.159   68.91.182.159	 
1
  255.255.255.255  255.255.255.255    192.168.1.163   192.168.1.163	 
1
Default Gateway:       68.91.182.1
===========================================================================
Persistent Routes:
  None


I have tried using the XP network bridging but that is not what I need
as far as I understand bridging and it did not work. I will try the
filtering on the linksys and let you know.

David

Clarification of Question by davidlpotter-ga on 11 Jan 2003 16:52 PST
I set the IPEnableRouter" entry is set to "1" and if I set it to 1
then I can not get to internet.

I also set the gateway for the 192. to nothing.


It did not seem to change anything.

David

Clarification of Question by davidlpotter-ga on 12 Jan 2003 07:04 PST
Setting the metric did the trick.

Thanks

David Potter
Answer  
There is no answer at this time.

Comments  
Subject: Re: Setting Up Primary network card with dual network cards in Windows XP
From: mds32767-ga on 11 Jan 2003 14:31 PST
 
Verify that HKEY_LOCAL_MACHINE
\SYSTEM\CurrentControlSet\Services\Tcpip \Parameters subkey :
"IPEnableRouter" entry is set to "1"
Subject: Re: Setting Up Primary network card with dual network cards in Windows XP
From: mds32767-ga on 11 Jan 2003 14:42 PST
 
also remove the default gw from the internal nic
Subject: Re: Setting Up Primary network card with dual network cards in Windows XP
From: bazoo-ga on 11 Jan 2003 21:36 PST
 
Open Network settings on your dual card machine. 
In TCP Settings.. Click on Advanced .. at the bottom you'll see a
setting for Interface Metric.  Interface Metric defaults to 1.
Set it to more than 1 for the card you don't want your machine to
route thru..
System will use the lowest cost interface card out of your machine.. 
Having a higher Interface Metric on your WAN card will avoid use of
that card for Internet..
Subject: Re: Setting Up Primary network card with dual network cards in Windows XP
From: mrbuzz-ga on 12 Jan 2003 09:42 PST
 
Ah, so that's what that metric stuff does.  Good stuff, bazoo-ga!

mrbuzz-ga
Subject: Re: Setting Up Primary network card with dual network cards in Windows XP
From: sparky4ca-ga on 13 Jan 2003 01:50 PST
 
Another thought...

although not "officially" supported in Windows XP, the NetBeui
protocal is included in the XP CD. You could setup Netbeui on your
systems for internal communication. Then disable TCP/IP on the second
network card in your system, so that it only "talks" through Netbeui
on the second card to the other computers. No TCP/IP, no IP address.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy