From here cisco says the TCP packets doesn't contains the source IP and destination IP? how the network layer knows tho thich IP send the packet and who has to get the ack back?
TCP is typically run atop IP, and IP addresses are stored within the IP part of the packet that encapsulates the TCP part.
A TCP packet goes inside of an IP packet. The IP header specifies the source and destination addresses, among other things. See this diagram. Here, the TCP data would be inserted into the data position.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With