How do I configure network to use dual nics

March 29, 2011 at 14:06:51
Specs: Windows XP, 3GB
I am trying to setup internet access and intranet access using two cards per pc. I don't have sever software and I want to be able to share files between several machines. I have two routers. One that connects to cable modem and one that connects to intranet side. I have assigned different static ip addresses to both cards. What is my next step? Is this even possible? I am learning...I am sure it is obvious...

See More: How do I configure network to use dual nics

Report •

March 29, 2011 at 14:27:35
Are the routers on the same subnet. If so you may have to setup a routing table for which gateway each subnet is on. Use the ROUTE command at the command prompt.

Assuming Network A is... /24
Router is

and Network B is... /24
Router is

then use this command...

route add mask -p
route add mask -p

Hope this helps. We would need more info to help you further. My guess is that the routers are on different subnets being that you are using two NICs. If that is the case then you can specify the NIC in your rout add command.

>route /?

Manipulates network routing tables.

ROUTE [-f] [-p] [-4|-6] command [destination]
                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]

  -f           Clears the routing tables of all gateway entries.  If this is
               used in conjunction with one of the commands, the tables are
               cleared prior to running the command.

  -p           When used with the ADD command, makes a route persistent across
               boots of the system. By default, routes are not preserved
               when the system is restarted. Ignored for all other commands,
               which always affect the appropriate persistent routes. This
               option is not supported in Windows 95.

  -4           Force using IPv4.

  -6           Force using IPv6.

  command      One of these:
                 PRINT     Prints  a route
                 ADD       Adds    a route
                 DELETE    Deletes a route
                 CHANGE    Modifies an existing route
  destination  Specifies the host.
  MASK         Specifies that the next parameter is the 'netmask' value.
  netmask      Specifies a subnet mask value for this route entry.
               If not specified, it defaults to
  gateway      Specifies gateway.
  interface    the interface number for the specified route.
  METRIC       specifies the metric, ie. cost for the destination.

All symbolic names used for destination are looked up in the network database
file NETWORKS. The symbolic names for gateway are looked up in the host name
database file HOSTS.

If the command is PRINT or DELETE. Destination or gateway can be a wildcard,
(wildcard is specified as a star '*'), or the gateway argument may be omitted.

If Dest contains a * or ?, it is treated as a shell pattern, and only
matching destination routes are printed. The '*' matches any string,
and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.

Pattern match is only allowed in PRINT command.
Diagnostic Notes:
    Invalid MASK generates an error, that is when (DEST & MASK) != DEST.
    Example> route ADD MASK IF 1
             The route addition failed: The specified mask parameter is invalid.
 (Destination & Mask) != Destination.


    > route PRINT
    > route PRINT -4
    > route PRINT -6
    > route PRINT 157*          .... Only prints those matching 157*

    > route ADD MASK METRIC 3 IF 2
             destination^      ^mask      ^gateway     metric^    ^
      If IF is not given, it tries to find the best interface for a given
    > route ADD 3ffe::/32 3ffe::1

    > route CHANGE MASK METRIC 2 IF 2

      CHANGE is used to modify gateway and/or metric only.

    > route DELETE
    > route DELETE 3ffe::/32

Report •

March 29, 2011 at 14:42:48
Ace what do dual homed pcs have to do with route add commands??????

"I am trying to setup internet access and intranet access using two cards per pc"

Gethro this kind of setup is the blind leading the blind. In other words you read or were told something, that simply was not true, that resulted in this recommended setup.

It also does not make any sense to have two routers. You are not routing on the intranet side. If you were you would not need to use the second nic.

Now we can make your present config work but the more complicated the setup the harder it is to maintain. How about sharing with us the reasoning behind this setup? We can proceed from there.

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's

Report •

April 14, 2011 at 00:18:10
Sorry for the lag time in my response! The reason for the two nics is two fold: 1: I am studying for my Network+ certification and want to setup a lab environment to "see" how networks really work ; and 2: I want to isolate the two networks such that one faces the internet and the other faces the intranet. I am able to make this work as follows:
> I have a Win 7 machine and an XP Pro machine both with two nic cards
> The internet facing portion of this setup has a 192.168.44.xx with static IP addresses
> The intranet facing portion of the setup has a 10.10.2.xx static IP addresses
This works...
My major concern is learning how to setup safe and secure networks...

Report •

Related Solutions

April 14, 2011 at 14:11:45
If you want to learn how to setup secure networks you begin by learning what the risks are and where they originate from.

Setting up two pcs with dual nics connecting to two networks isn't how you go about this. In fact this really does not accomplish anything.

The good news is you are not trying to set someone's business up this way :-)

If you want to learn networking start with a peer to peer network and then move on to client server. Huge differences between the two, though you can mix them. Its important to understand this fundimental difference.

One has a low level of security and the other high. Working with both teachs you the difference.

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's

Report •

April 14, 2011 at 15:16:05
> The intranet facing portion of the setup has a 10.10.2.xx static IP addresses
This works...

And you have these two connected directly with a crossover cable, or to a switch?

To be honest, I wouldn't dream of doing what you're talking about. In keeping with the KISS principle, I would have a single router with 4 LAN ports. The internet would be connected to the WAN port, and if I had more than 3 clients, I would connect a switch (with enough ports) to a LAN port on the router and plug all clients in to it.

This is simple and clean and keeps your LAN isolated from the internet. This is also basically the setup I have at home.

Now, if you wanted to add another subnet you wanted to keep separate and secure from the other LAN, you would not add a second NIC to the PC's (apt to give them headaches and have them quit working are using windows boxes, not UNIX or Linux after all), you would plug another SOHO Router into a LAN port on the first router and you would configure it appropriately. For info on how to do this click on my name above and read my "how-to" guide titled "‚ó¶Add a second Router to your LAN" and follow the instructions in the scenario where you want a separate, secured subnet, that has internet access.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***

Report •

April 30, 2011 at 23:39:10
I have a similar problem at my workplace. My Office intranet / lotus notes email client uses a DHCP with a default gateway of subnet mask (This is my wired LAN) I have recently purchased a Wimax device and tried to use the wireless lan to use the internet through the secondary wifi network but the browser keeps on routing Internet traffic through the default gateway ( . The secondary wifi network is also DHCP based and has a default gateway of subnet mask

Can anyone guide me how i can keep my email client (lotus notes) with wired LAN) and isolate all my internet traffic through the wireless network (

Report •

Ask Question