Routing network traffic thru multiple NICs

This can be used to route traffic thru a specific NIC. A common scenario is a workstation with dual NICs, one is to access the agency network and the other connects to an AFIS network. This usually results in the AFIS traffic to route thru the wrong network, resulting in failures.

Instructions

You need to create a static route on the machine you ftp'ing from to force it to go out the appropriate NIC.

  1. Open a command prompt and enter the following command:
  2. route add 159.181.56.3 mask 255.255.255.255 159.181.213.17 metric 1 if 2 ( see info below)
  3. After you run the route add command, verify be running route print again and look for the proper route:


  • The first ip address is the AFIS (ex: DCJS) FTP server
    The second is the mask
    The third IP is the inside gateway
    Metric 1 gives it 1st priority
    If 2 is the interface number of the NIC configured for the Foray (agency) subnet.
    You can get this be entering route print at the command prompt.
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 1b 11 0f 24 67 ...... D-Link DFE-530TX+ PCI Fast Ethernet Adapter (rev.F) - Packet Scheduler Miniport
    0x3 ...00 1c 23 8b 14 65 ...... Broadcom NetXtreme 57xx Gigabit Controller - Packet Scheduler Miniport

         Note: In this case interface 0x2 is the Foray (agency) NIC which would be entered as "if 2"



© 2023 Foray, LLC - All Rights Reserved