in the osi model data link layer is adds source & destination mac address to frames
The Layer 3(Network Layer) is associated with IP addressing.Because,It converts the frames into packets and address them to send across the other network through intermediary devices.While transferring across the other network's have to know about the destination IP address and also source IP address's deals with IP address.
The source MAC address within a frame is used by the switch to associate a port with that MAC address. Frames are directed by the switch from one port to another based on the destination MAC address within the frame.
the source Layer 2 address of incoming frames
The Destination Address (Layer 2 or Layer 3)
The message must travel from your computer to your router. Every computer connected to a network has a network interface card (NIC) with a unique physical address, called a MAC address (for Media Access Control). At the data link level, two more headers are added, one for your computer's NIC address (the source MAC) and one for your router's NIC address. A data link layer structure with destination MAC, source MAC, and data is called a frame. Every NIC selects from the network those frames with its own address as a destination address. The data link layer adds the structure necessary for data to get from your computer to another computer (a router is just a dedicated computer) on your network. Data Link Layer Transformation.
the Layer 2 source and destination address
The Layer 3(Network Layer) is associated with IP addressing.Because,It converts the frames into packets and address them to send across the other network through intermediary devices.While transferring across the other network's have to know about the destination IP address and also source IP address's deals with IP address.
IP source and destination address
The source MAC address within a frame is used by the switch to associate a port with that MAC address. Frames are directed by the switch from one port to another based on the destination MAC address within the frame.
the source Layer 2 address of incoming frames
The source and destination IP address can be identified.
source and destination IP address
The Destination Address (Layer 2 or Layer 3)
The message must travel from your computer to your router. Every computer connected to a network has a network interface card (NIC) with a unique physical address, called a MAC address (for Media Access Control). At the data link level, two more headers are added, one for your computer's NIC address (the source MAC) and one for your router's NIC address. A data link layer structure with destination MAC, source MAC, and data is called a frame. Every NIC selects from the network those frames with its own address as a destination address. The data link layer adds the structure necessary for data to get from your computer to another computer (a router is just a dedicated computer) on your network. Data Link Layer Transformation.
A Switch looks at the MAC address its a layer 2 device (OSI Model).
Data Link layer:Data link layer has several functions to perform they are providing a well defined service to the network layer, determining how the bits of the physical layer are grouped into frames, dealing with transmission errors, regulating the flow of frames so that slow receivers are not swamped by fast senders, and general link management.Services provided to the network layer:The principal service provided by the data link layer to the network layer is the transmission of data from the source network layer to destination network layer. This can be accompolished in 3 ways:1. Un acknowledged connectionless service.2. Acknowledged connectionless service.3. Connection oriented service.Unacknowledged connectionless service consists of having the source machine send independent frames to the destination machine without having the destination machine acknowledge them. This is used where the re is a very low chance of transmission errors.In Acknowledged connectionless service the source machine send the frames indepenedently to the destination machine, but with acknowlegement to each and every frame from the destination machine.In connectin oriented service a connection is established between the source and the destination until all the data is transfered.
destination host logical address