Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Setting Up Dual Nic's on Windows XP

Posted on 2006-11-30
7
Medium Priority
?
522 Views
Last Modified: 2012-05-05
I would like to setup my dual nics as follows:

Nic 1: connect to internet via router (DHCP or static)
Nic 2: connect to local switch which is connected to another router and then to the internet

I do have two internet connections and I want the XP pc to access the internet via Nic1 and I would like Nic 2 to be used really only for applications like remote desktop and file sharing with other PC's that are also connected to the local switch.

Can this be done?

Tony
0
Comment
Question by:tdavis1198
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
Trilotech earned 225 total points
ID: 18048439
Just set up your gateway on NIC 1 and leave the gateway for NIC 2 empty. All local traffice to NIC 2 subnet will go there automatically. Any other traffice will go out your gateway address of NIC 1.
0
 
LVL 3

Expert Comment

by:KVR_Solutions
ID: 18048809
Trilotech is on the right track, but I'm not convinced that his response will solve your problem. You'll want to have both gateways entered on those NICs, but apply persistant routes for the specific connections you desire.

See this link: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/route.mspx?mfr=true

Remember that you'll need to use the -P switch to make it persistant, or else you'll loose the routes you've added at the next system reboot.

Follow the standard procedures for routing.. making sure to have all traffic go out the gateway for NIC 1 by default. I think the way to do this is to add a route for 0.0.0.0 (which typically means all traffic) placed at the bottom (or top depending on that table) of the routing table. The packet that is addressed to a machine on the local subnet will be checked against the routing table and then go out NIC 2.

Ira @ KVR
0
 
LVL 4

Expert Comment

by:Trilotech
ID: 18048896
You only want to go to the internet via NIC 1 correct? NIC 2 is only for the local LAN. So only the gateway on that NIC needs to be set.

You should only ever have one default gateway... This means it is the last route when no other is available.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 3

Expert Comment

by:KVR_Solutions
ID: 18048914
You may be correct, however, I have a machine at my house working just like the setup that I described. I am aware of the warning that Windows gives you upon hitting apply with a second gateway, but if you control the routes with a routing table it works as expected.
0
 
LVL 4

Expert Comment

by:Trilotech
ID: 18048938
Yes but you are controlling the routes with your routing table and NOT the second gateway...
0
 
LVL 3

Expert Comment

by:KVR_Solutions
ID: 18048952
Are you convinced that all of the traffic addressed to the local subnet will use the second NIC without a routing table?
0
 
LVL 4

Expert Comment

by:Trilotech
ID: 18050007
Of course it will. That is why it is called local traffic. Only traffic outside your subnet is routed, thus requiring a route.

Any traffic that is on the same subnet as your NIC will go out that NIC and does not get routed. If you are on a LAN only with local computers and no internet, you would not even have a default gateway. All communication would be local.

If an IP packet is addressed to an address NOT in your subnet your computer looks to its routing table. It starts at the top, where the most specific settings are, looking for a route. AS SOON AS IT FINDS ONE it uses it and does not even continue to parse the routing table. This is why it is pointless to have a second default gateway. Whichever one is first on the list will ALWAYS be used if no other routes have been found.
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question