IP routing within one (Win32) PCLocked
I have a bunch of (protocol) SW sitting behind a virtual Ethernet adapter on a PC which I want to thrash-test with traffic. The SW is setup to echo whatever traffic it receives (that is directly copy the same packet back out of the virtual Ethernet adapter without modification, not a Ping-type echo) and I want to test it on a single PC. I have a UDP client pushing packets into the virtual Ethernet adapter (which is on fixed IP address 192.168.48.171, subnet 255.255.255.0) by sending them to 192.168.48.1, port 5000.
I have a UDP server listening on port 5000 but no packets ever arrive there, presumably because when they emerge from the virtual Ethernet adapter Windows doesn’t know how to route them.
Is there a way to get the client/server arrangement to work on a single PC with this echo device between them? Or is there a better way to do the testing I desire?