windows routing table

By st0neganesa ·
Hey there, so heres the problem im having. I have 2 default routes ( mask one going to (which will take me to the internet). The other going to (which can only be used to proccess credit cards and no other traffic!).

so i tried to forward the address (the only place it sends those credit card processing packets to, according to wireshark and pcap) mask to use gateway however it just wont fuckin do it.. theres something im missing here. Ive tried to delete the -> then use:

route add mask metric 1 if

however it gives me an error such as:

The route addition failed: Either the interface index is wrong or the gateway does not lie on the same network as the interface. Check the IP Address Table for the machine. Or another error..

really starting to bug me, because i know you should be able to do this, but it just doesnt like it. Please help.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by scott_heath In reply to windows routing table

the 'if' options specifies the index of the NIC, which can be used if you know it. I find it easier to just use the gateway:

route add mask metric 1 /p

Don't forget the '/p', it makes the router persistent.

Related Discussions

Related Forums