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
|