Tool/software: TI-RTOS
Hello,
I encountered some behavior which does not fit with what i would have expected to see - could it be a bug and/or implementation dependent behavior ?
The scenario is as follows:
Device A: subnet 255.255.255.0 , ip 10.1.0.39 (the NDK stack)
Device B: (linux / windows) subnet 255.255.0.0 , ip: 10.1.1.11
Device A sees Device B as on a different subnet but device B think A in on its subnet.
B tries to send TCP packet to A (B once talked to A on a different scenario so it already has the MAC) A should receive the packet but should respond through the gateway as it sees the B from different subnet .
There is no gateway configured (nothing exist on the gateway IP) so A should not be able to communicate with B.
After a while, when B gets no response it tries to ARP A – the ARP received and ANSWERD by A (not quite sure why if B is on a different subnet unless ARP does not care and is only Layer 2 ?)
From here on it seems the A can communicate with B – I assume it is because after the ARP A now have an entry the contains B’s IP and MAC association and from some reason it no longer even considers the different subnets. Can you help explain this behavior?
Attached is a wireshark log
Thankshttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/138/5383.host10.1.1.11_2D00_usrr10.1.0.39.pcap.7z