Question

Locked

windows routing table

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

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

route add 204.194.125.9 mask 255.255.255.255 10.140.11.113 metric 1 if 10.140.11.115.

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.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Collapse -

close...

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 204.194.125.9 mask 255.255.255.255 10.140.11.113 metric 1 /p

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

Back to Networks Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums