Primarily at layer 1 and 2. The frame adds this information for these layers.
The TCP/IP model consists of four layers: the Application layer, Transport layer, Internet layer, and Link layer. Each layer has specific functions, with the Transport layer responsible for end-to-end communication and data integrity, while the Internet layer handles packet routing and addressing. The TCP/IP model is essential for enabling communication over the internet and other networks. It is often compared to the OSI model, which has seven layers but serves a similar purpose in networking.
Layer 3 (network layer).
Only the Network Layer (Layer 3) portion of the datagram is used by the Network Layer (Layer 3) portion of the TCP/IP Model. The network portion of the datagram includes IP Addressing information, and things such as TTL (Time to Live), and Datagram Priority markings.
In the TCP IP model, routers belong in layer 3. This is a common model used in setting up information technology systems.
internet
Layer 3 i.e, network layer of the OSI model is used to IP addressing.
The network layer (Internet Layer in TCP/IP model) is the second layer of the TCP/IP model. IP (Internet Protocol), ARP (Address Resolution Protocol), RARP (Reverse Address Resolution Protocol), ICMP (Internet Control Message Protocol) and IGMP (Internet Group Management Protocol) are the protocols at this layer. http://www.omnisecu.com/tcpip/internet-layer.htm
The Physical layer is responsible for the actual hardware connection. The physical addressing is handled by the Data Link Layer.
Networking layer of the OSI model
The OSI model has seven layers whereby each layer has its function. The Data Link Layer is responsible for addressing data messages so that they reach their destination correctly.
There are in total seven layers in OSI model . OSI model layer that is responsible for the termination of connections between hosts is session layer . Session layer is responsible for the dialog control .
Physical layer which is the first layer in OSI reference model is responsible for signal encoding and decoding.