Ensuring traffic goes out and comes in on the same NIC

We have a Windows 2000 server SP2 and hotfixes. We have two NICs in the box. One is on a 172.16.1.0/24 network and the other is 172.17.1.0/24. Each NIC is configured to use its own gateway.

We have had instances in which traffic coming in on the 172.16.1.0 network tried to route back out through the 172.17.1.0 network. That gateway is a firewall, which discards the packets, thus rendering the Web sites unavailable. This only happens approximately once a week.

The question is: How can we configure the server to ensure traffic goes out the NIC it came in on?

    Requires Free Membership to View

I believe the system automatically replies using the same interface. However, if there is any problem or congestion with that interface, it will seek the next interface in the binding order to use.

The system uses an ordered list of access pathways known as binding. This is performed as follows:

  1. Open Network and Dial-up Connections.

  2. Click the connection you want to modify. On the Advanced menu, click Advanced Settings.

  3. On the Provider Order tab in Network Providers, click the provider you want to move up or down in the list, and then click the up or down button.

Note: To modify the network provider order, you must be logged on as a member of the Administrators group.

Put the interface at the top of the list (i.e. use priority) that is used most often.

This was first published in October 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.