My question is too basic, but it's been tingling me since forever, so, I decided to ask. We have an IP fragmentaion in the network layer and a TCP segmentation in the transport layer. Considering the data comes down from the top of the OSI model to be put on the wire, one could say at first it gets segmented in TCP in smaller chunks (segments!), then it goes to network layer and if the IP header is too big, it'd be cut again into fragments.
My question is that TCP is so secure (at least what they claim to be), it has 3 way handshake and ... to secure data transfer. But if we have IP fragmentation too, then it means we have to have the same story for the network layer as well! Why do we need to split data 2 times? It's just a little confusing for me, TCP breaks it down, then smaller segments go to Network layer and then they get broken down into little pieces to be able to carry IP header and .... How could we be sure of the network layer? It doesn't have 3 way handshake.
My question is that TCP is so secure (at least what they claim to be), it has 3 way handshake and ... to secure data transfer. But if we have IP fragmentation too, then it means we have to have the same story for the network layer as well! Why do we need to split data 2 times? It's just a little confusing for me, TCP breaks it down, then smaller segments go to Network layer and then they get broken down into little pieces to be able to carry IP header and .... How could we be sure of the network layer? It doesn't have 3 way handshake.