Guys am not sure it is the right section to ask , just one doubt
How network layer adds destination IP address to its header , the transport protocol header does NOT contain anything about the IP address (or host name). So, from where does the layer 3 brings the destination IP address?
my understanding in TCP/IP layer is
1: Data---> Transport layer [App layer to transport layer]
2:TCPheader+ data --> Network layer [transport to network layer]
In third stage , IP header is attaching to data , and the IP address of destinaion is putting in to IP header
but my doubt is from where the network layer, is getting the destination address...?
How network layer adds destination IP address to its header , the transport protocol header does NOT contain anything about the IP address (or host name). So, from where does the layer 3 brings the destination IP address?
my understanding in TCP/IP layer is
1: Data---> Transport layer [App layer to transport layer]
2:TCPheader+ data --> Network layer [transport to network layer]
In third stage , IP header is attaching to data , and the IP address of destinaion is putting in to IP header
but my doubt is from where the network layer, is getting the destination address...?