I have been attempting to use packetdrill via the following setup:
- eth1 (staticip1, which is the gw ip) ←→ switch
- eth2 (staticip2, using staticip1 as gw ip)←→ switch
I have a application that includes an embedded TCP/IP stack which is running is bound to staticip2 port 8100. I initialized the application and tested it as follows:
"telnet staticip2 8100" which was successful.
I ran run_test2.sh (from ../packetdrill/gtests/net/packetdrill/tests/linux) after I tweaked it to use "--wire_server_ip=staticip2 --wire_server_port=8001" the output for the run is attached as appup.out
I shutdown my application and confirmed it via
"telnet staticip2 8100" which timesout.
I reran the run_test2.sh and its output is attached as appdown.out
When I compared the output files, I was surprised to find very little difference in the output, which seemed counterintuitive since I would have expected more tests to fail when there was nothing listening on staticip2:8001
Am I using the tool as it was meant to be used?
Also does anybody have any additional documentation on what all the different IP options are and how they should be used?
Appreciate any help.