Link to home
Start Free TrialLog in
Avatar of Starquest321
Starquest321

asked on

2 NIC Traffic control

Scene: A windows XP with 2 NICs and two providors. Two questions:
1. How can I control which programs use which NIC.
2. How can I display what is going on now?
Avatar of and235100
and235100
Flag of United Kingdom of Great Britain and Northern Ireland image

You can only tell Windows to use one card or another - rather than individual programs.

Use the "Metric" option in your network card's properties (TCP/IP Protocol\Advanced)

If you set a high metric value - about 100 - then Windows will use the other card (if set to a number below 100 - or on Automatic)
Avatar of Starquest321
Starquest321

ASKER

Is there software which tells Windows what to use? Doesn't winroute do that?
Can't you just use a router?

Then you could route the traffic that way...
>>1. How can I control which programs use which NIC.

If you are going to specific sites on your LAN or internet, you might be able to be crafty with IP, subnets, and static routes to control which programs use which NIC, assuming you have some control over the network.  Thus you might configure one NIC as 192.168.1.xxx with a subnet of 255.255.255.0, and the other NIC as 192.168.2.xxx also with a subnet of 255.255.255.0.

You might also be able to set up some static routes to segregate traffic  outside your LAN.


This will not work, of course, for situations where the segregated programs are using the same sites.
The problem is that I need a router capable of handeling 2 nics....I have a Cisco 831 and I heard this can be done by upgrading one of the ports to handle the second NIC...but I am not sure how to do this.

There is a particular IP that I want channeled through a particular NIC...how can I do this?
I don't have two NICs, but you might try
(in DOS)

route -p ADD <YourTargetIP>  IF <yourNICInterfaceIP>

replacing "<YourTargetIP>" and "<YourNICInterfaceIP>" with the appropriate addresses.  The "-p" means a persistent route.

do "Route PRINT" to see your current static routes.
do "ROUTE" to get a description of the route command.
ASKER CERTIFIED SOLUTION
Avatar of JohnBPrice
JohnBPrice

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is there a friendly program that manages routes for you?
Not that I know of, it is a complex thing.