Question

Locked

2 NIC - 1 PC for Internet and Local Lan

By jfedele ·
Using WinXP Pro:

I have a web server that will spit out pages on a an External cable modem (static IP 173.xxx.xxx.xxx).

I need to have a second NIC on the same PC to connect to the internal LAN (static IP 192.168.168.xxx).

The Internal LAN connects all PC's through hub/router/T1. Also have other web servers on this T1 connection.

Need to have severs on different ISP's in case either T1 or Cable fail, we still have something on the internet.

Reason for this elaborate setup is so that we can easily upload files from the Internal LAN to either the T1 or Cable Modem servers.

Network Bridge does not seam to be the answer. When I setup 2 NICs only one seems to work. The internal does not pass any traffic and cannot ping.

Any suggestions on how to make this work? Any alternate ideas?

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Make sure the second card is working

by mdmyers In reply to 2 NIC - 1 PC for Internet ...

Question: Why is the second NIC in a different class? Why a different IP address?
Anyway, first I would double check the second card to make sure it has connectivity---to the LAN and WAN. Unplug/disable each card (one at a time) and check for connectivity.

Collapse -

Both cards function

by jfedele In reply to Make sure the second card ...

Thanks for the reply.

Need 2 Lan cards so that I can connect one to WAN side (cable modem) and INTERNAL LAN side (192.168.x.x) for connectivity to other computers.

Remember that the INTERNAL LAN (as I call it) are connected through hub/router to a T1 circuit as well.

Looking for better alternative if anyone has one. But this is the best I can think of.

Collapse -

Routing / Default Gateway

by Churdoo In reply to 2 NIC - 1 PC for Internet ...

Are you trying to use a default gateway on both NIC's? You can only have one. Your problem may be routing related and you need to get someone involved in the project that can configure this properly.

Collapse -

2 Lan Cards - 2 Gateways

by jfedele In reply to Routing / Default Gateway

Thanks for the reply.

Here are the settings of each LAN cards:

CABLE MODEM
------------
Static IP : 173.12.123.145
Subnet Mask: 255.255.255.252
Def Gateway: 173.12.123.146

T1 CIRCUIT
-------------
Static IP : 192.168.168.18
Subnet Mask: 255.255.255.0
Def Gateway: 192.168.168.1

All computers and servers on my INTERNAL LAN are set for the 192.168.168.X IP range.

The cable modem has a single web server (my backup to T1).

I need to be able to upload website changes directly to the server on the cable modem server. Typical uploads take about 20-30 minutes if they are direct. If I had to do them through the intenet they would take much longer.

Collapse -

Persistent routing

by tintoman In reply to 2 Lan Cards - 2 Gateways

is the way forward here I think
You will need to set up static routes to force internet connection through one NIC and uploads to your server via the other NIC
This might help to explain better
http://www.labtestproject.com/using_windows/add_persistent_route_on_windows_xp
Also you will need to add entries to the host file to make this work

Collapse -

Persistent Routing? Sounds like a Microsoft Bug

by jfedele In reply to Persistent routing

Thanks... I'm going to have to read up on this.

Collapse -

IS this workstation the webserver that's listening on the 173 IP?

by Churdoo In reply to 2 Lan Cards - 2 Gateways

Is THIS workstation providing the www services that are listening on the 173.12.123.145 IP?

If so, you need to blank out the default gateway on the 192.168.168.18 interface. Just go into the network settings for that NIC and erase the default gateway and save those settings.

If there are other services beyond the 192.168.168.0/24 network that you would want handled by the 192.168.168.1 router, then you'll have to set up persistent static routes for those networks as tintoman posted.

Otherwise, if the webserver is a separate box which you would like accessed through the cable modem, then ... with a 255.255.255.252 subnet mask it can't be on the same 173.12.123.144/30 network as that NIC, and that's the problem. Windows can only recognize 1 default gateway, and it happens to be the 192.168.168.1 default gateway (look at your NIC ordering in Network Connections / Advanced / Advanced).

In this scenario, you'll need to decide which should be your DEFAULT gateway, i.e. your preferred path to "everything outside your network(s)" and blank out the other default gateway. Presumably you'll keep the 192.168.168.1 default gateway and simply blank out the default gateway on your cable modem NIC.

Then as tintoman posted, you'll have to add a (persistent) STATIC ROUTE on this workstation to route traffic destined for whatever network your cable modem webserver is on, through the 173.12.123.146 gateway.

Clear as mud? :-)

Collapse -

I hate to have to THINK

by jfedele In reply to IS this workstation the w ...

Thanks for the info.

Looks like I'm gonna have to get my brain wrapped around this and do some research on the persistent static routes that tintoman posted.

After all, I'm just a stupid engineer...

Back to Networks Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums