Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a computer with Windows 7 and two network cards:

NIC 1: Gateway set to

NIC 2: Gateway not set

When an application tries to make connection to a device ( that is not connected (or ever has been) to the network, a packet is sent to the gateway on the network. This packet is refused by firewall rules and a TCP reset packet (RST, ACK) is sent back to the computer..

How can I sent up the computer to not send any packets bound for the network to the gateway?

share|improve this question
Since you state you are using a /24 mask on NIC2 Windows should resolve this on its own. What does the output of 'route print' look like? – cpt_fink Mar 29 '13 at 4:25

1 Answer 1

You will need to add a new route to your route table. You can do this with the 'route' command funny enough:

route ADD MASK <New_Destination_IP>

Also if you want this to occur for only one interface you can add the interface specifier:

route ADD MASK <New_Destination_IT> if <Interface_Name>

Microsoft Reference Article about specifying static routes:

share|improve this answer
This will not work for directly connected routes... – cpt_fink Mar 29 '13 at 4:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.