Data Link Layer Flashcards
Define the Data Link Layer
The data link layer of the OSI model (Layer 2) prepares network data for the physical network. The data link layer is responsible for network interface card (NIC) to network interface card communications.
What’s the function of the data link layer?
1) Enables upper layers to access the media. The upper layer protocol is completely unaware of the type of media that is used to forward the data.
2) Accepts data, usually Layer 3 packets (i.e., IPv4 or IPv6), and encapsulates them into Layer 2 frames.
3) Controls how data is placed and received on the media.
4) Exchanges frames between endpoints over the network media.
5) Receives encapsulated data, usually Layer 3 packets, and directs them to the proper upper-layer protocol.
6) Performs error detection and rejects any corrupt frame.
What would happen without the data link layer?
Network layer protocols such as IP would have to make provisions for connecting to every type of media that could exist along a delivery path. Additionally, every time a new network technology or medium was developed, IP would have to adapt.
Define a node
A device that can receive, create, store, or forward data along a communications path. It can be either an end device such as a laptop or mobile phone, or an intermediary device such as an Ethernet switch.
What are IEEE 802 LAN/MAN standards specific to?
Ethernet LANs, wireless LANs (WLAN), wireless personal area networks (WPAN), and other types of local and metropolitan area networks.
What does the IEEE 802 LAN/MAN data link layer consist of?
Logical Link Control (LLC)
Media Access Control (MAC)
Define LLC
Logical Link Control: an IEEE 802.2 sublayer communicates between the networking software at the upper layers and the device hardware at the lower layers. It places information in the frame that identifies which network layer protocol is being used for the frame. This information allows multiple Layer 3 protocols, such as IPv4 and IPv6, to use the same network interface and media.
It takes the network protocol data, which is typically an IPv4 or IPv6 packet, and adds Layer 2 control information to help deliver the packet to the destination node.
Define MAC
Media Access Control (MAC)– Implements this sublayer (IEEE 802.3, 802.11, or 802.15) in hardware. It is responsible for data encapsulation and media access control. It provides data link layer addressing and it is integrated with various physical layer technologies.
It controls the NIC and other hardware that is responsible for sending and receiving data on the wired or wireless LAN/MAN medium.
What types of data encapsulation does the MAC sub-layer provide?
Frame delimiting
Addressing
Error detection
The MAC sublayer also provides media access control, allowing multiple devices to communicate over a shared (half-duplex) medium. Full-duplex communications do not require access control.
Define Free Delimiting
The framing process provides important delimiters to identify fields within a frame. These delimiting bits provide synchronization between the transmitting and receiving nodes.
Define Addressing
Provides source and destination addressing for transporting the Layer 2 frame between devices on the same shared medium.
Define error detection
Includes a trailer used to detect transmission errors.
At each hop along the path, a router performs the following Layer 2 functions:
1) Accepts a frame from a medium
2) De-encapsulates the frame
3) Re-encapsulates the packet into a new frame
4) Forwards the new frame appropriate to the medium of that segment of the physical network
Engineering organizations that define open standards and protocols that apply to the network access layer include the following:
1) Institute of Electrical and Electronics Engineers (IEEE)
2) International Telecommunication Union (ITU)
3) International Organization for Standardization (ISO)
4) American National Standards Institute (ANSI)
What are the common physical WAN topologies?
1) Point-to-Point
2) Hub and Spoke:
3) Mesh:
(A hybrid is a variation or combination of any topologies)
Define Point-to-Point:
Directly connect two nodes
In this arrangement, two nodes do not have to share the media with other hosts. Additionally, when using a serial communications protocol such as Point-to-Point Protocol (PPP), a node does not have to make any determination about whether an incoming frame is destined for it or another node. Therefore, the logical data link protocols can be very simple, as all frames on the media can only travel to or from the two nodes. The node places the frames on the media at one end and those frames are taken from the media by the node at the other end of the point-to-point circuit. (the use of physical devices in the network does not affect the logical topology)