I have an application that requires me to send Ethernet packets through the network, and have them arrive back to the same PC. I have two NICs installed on two different subnets: 192.168.2.1 and 192.168.3.1, on Windows NT4. NT automatically sets a route to the loopback address 127.0.0.1 for exact matches to the above IP addresses. Like this:
192.168.2.1 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 1
This is bad. I need traffic addressed to 192.168.3.1 to be routed through the NIC at 192.168.2.1, and vice versa. Is this possible? Any routes I enter are lower priority than the above loopback routes. I can't raise the metric (cost) of the loopback routes, and I can't delete them either. Or at least I don't know how to do any of these things.
The network and routers can be simulated by a crossover cable. If all is well, a ping to either card should only respond when the crossover cable is in place.
Help?
Thank You,
Brian Heilig
192.168.2.1 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 1
This is bad. I need traffic addressed to 192.168.3.1 to be routed through the NIC at 192.168.2.1, and vice versa. Is this possible? Any routes I enter are lower priority than the above loopback routes. I can't raise the metric (cost) of the loopback routes, and I can't delete them either. Or at least I don't know how to do any of these things.
The network and routers can be simulated by a crossover cable. If all is well, a ping to either card should only respond when the crossover cable is in place.
Help?
Thank You,
Brian Heilig
