Transport layer
Typically TCP (the Transmission Control Protocol) is responsible for adding reliable delivery mechanisms to information flows. It operates at the Transport Layer. Some applications use the session layer in addition to or in place of transport layer mechanisms however.
in the osi model data link layer is adds source & destination mac address to frames
IP belongs to the Network layer of the OSI Model and provides information about how and where data should be delivered.
Because ICMP is on the network layer
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.
Transport
the Layer 2 source and destination address
Typically TCP (the Transmission Control Protocol) is responsible for adding reliable delivery mechanisms to information flows. It operates at the Transport Layer. Some applications use the session layer in addition to or in place of transport layer mechanisms however.
source and destination IP address
ICMP
The data link layer header contains the destination and source of information of the original frame and device sending information. You will also find that it contains the information of the device to receive it.
physical source and destination addressesphysical source and destination addresses
physical source and destination addressesphysical source and destination addresses
in the osi model data link layer is adds source & destination mac address to frames
Physical layer
IP belongs to the Network layer of the OSI Model and provides information about how and where data should be delivered.
Because ICMP is on the network layer