I have a TCP server listening on 10.10.10.101, port 2000, running on a Windows 7 machine. Below is the corresponding output line for the command
TCP 10.10.10.101:2000 0.0.0.0:0 LISTENING 2340
I also have an FPGA which sends a TCP SYN packet every second until the server responds.
The FPGA physically connects to the directly to a network interface on the Windows 7 machine, which has been configured to have a static IP address of 10.10.10.101. The source IP address of the SYN packets is 10.10.10.100.
I can see the SYN packets being received on the network interface using WireShark, but the TCP server does not reply a SYN/ACK. My assumption is that the TCP server is not seeing the SYN packets because of routing issues.
I have manually added two routes as follows (
IF 16 refers to the interface with static IP
route add 10.10.10.100 MASK 255.255.255.255 10.10.10.1 METRIC I IF 16
route add 10.10.10.101 MASK 255.255.255.255 10.10.10.1 METRIC I IF 16
Have I correctly added the routes? How can I confirm that the TCP server is indeed not being forwarded the IP packets with the TCP SYN? What can I do to gain more insight into what is going wrong?