Data Link and Physical Layers

Video Activity

Data Link Layer- Reliable data transfer across physical link Responsible of physical addressing Organize the data into frames Puts frames on the physical medium Check frames for errors Hop-to-hop addressing Physical Address- Unique identifier Not bound to geographical location Used for hop-to-hop addressing Burned on the NIC Cannot be changed Vend...

Join over 3 million cybersecurity professionals advancing their career
Sign up with

Already have an account? Sign In »

3 hours 38 minutes
Video Description

Data Link Layer- Reliable data transfer across physical link

  • Responsible of physical addressing
  • Organize the data into frames
  • Puts frames on the physical medium
  • Check frames for errors
  • Hop-to-hop addressing

Physical Address- Unique identifier

  • Not bound to geographical location
  • Used for hop-to-hop addressing
  • Burned on the NIC
  • Cannot be changed
  • Vendor oriented
  • Common example is the MAC address
  • Sometimes called hardware address

Data Link Layer- Received data packages from network layer

  • Convert data into the frames including the following:

    • Data packages
    • Sender and the receiver physical addresses
    • Error checking and control information
  • Checking and control ensures the frame has been delivered without troubles
  • If part of the frame is lost during transmission then:

    • Data link layer protocols of the receiver would see that
    • Data link layer at the receiver requests data retransmit from the sender
  • Switches and bridges devices work in data link layer

Frame Check Sequence (FCS)- Error checking mechanism is creating the unique frame check sequence (FCS)

  • FCS number based on the values of all of the preceding fields in the frame
  • The receiver's end receives data with the FCS value
  • Receiver compares FCS to the data fields in frame
  • In unlucky scenario of failed comparison the following is done:

    • Data is assumed corrupted
    • Receiver requests data resend
  • If the comparison is a success, receiver sends the message of successful data transmission back to the sender
  • If receiver did not receive the "success" message during specified time, automatically the sender resends the data frames

Data Link Layer Sublayers- Another function of Data Link layer protocols is to control the flow when manny different nodes are sending data at the same time

  • The Data Link layer has been divided into two sublayers be the IEEE as follows:

    • The top sublayer is called Logical Link Control (LLC) communicating only with Network layer and providing the following functions:

      • Hop-to-hop reliability
      • Hop-to-hop flow control
    • The bottom sublayer is Media Access Control (MAC) responsible for the following:

      • Adding physical address to the frame
      • Communication with the Physical layer

Physical Layer- Transmits bit stream over the physical link

  • Sends data signals to media and receives it
  • Adapts to the transmission media

    • Cables

      • Copper (coaxial, twisted pair)
      • Fiber optic (single mode, multi mode)
    • Wireless
  • Responsible for the representation of 1s and 0s
  • NIC, Hub, and Repeater work in Physical Layer
Video Transcription
Now let's talk about the lowest two layers. The datalink layer layer number two and the physical layer layer number one. They are important layers, as well as the third and the fourth. For the network specialists and engineers,
the data link Clear Layer number two. It's a reliable
layer for the data transfer across the physical link. It is responsible for the alien reliability on the level off hop tow hop transfer
across the physical link means that it is responsible for the reliability off data transfer from the machine. So the switch and from the switch so the router and from the outer toe, the next rotor across the land domain, it is responsible off physical. Addressing.
Physical addressing is different than logical. Addressing the physical address is not bound to geographical location
and cannot be change it. The logical address is bound to the geographical location and can be changed according to the geographical location, off the machine or off the network interface card inside this machine. But remember that both addresses are unique and cannot be repeated.
The data link clear organized the data into frames. The frame is the data unit at this layer at the Datalink Lair at layer. Two week old data frames at layer, three week old data packets and at Layer four, we call data segments and that they're one. We will call data bits or bites.
The data link lair puts the frames on tow. The physical media checks four frames errors, and this checking does not include correction. It is just other detection on Lee. It is responsible for hope Toe help addressing a dressing on the range off land domain
at dressing
with the physical address.
The physical address is a unique identify that cannot be repeated. It is not logical. It is not bound to the geographical location. It is only used for help toe hope. Addressing toe, identify the machine on the land. I mean, the physical addresses burned on the network interface court
and it cannot be changed. It is vendor oriented. Every
specific board off the physical address
comes that this network interface card belongs to this vendor, which means network interface card from a certain vendor should have a physical address that is related to this vendor.
A very common example of the physical addresses. The Mac address the medium control, the medium access control address. Sometimes the physical address is called the hardware Address.
The data link clear receives data packages from the network clear
when sending and convert this data into frames, including the following the data itself. The data package, the sender and the receiver. Physical addresses, error checking and control information. A field that helps for error. Checking for this frame
checking and control ensures the frame has been delivered without troubles. This is the functionality off such field for error, checking and control.
If part of the frame is lost during transmission than the Datalink Lair protocols off the receiver would see that they telling clear at the receiver, request data retransmit from the thunder. As you can see, this is just a retransmission request, not
a correction action that can correct the data.
Ah, that is corrupted at the frame. It is just a retransmission for the corrupted frame or for the frame that contains wrong information.
The switches and the bridges are devices that work in the datalink. Clear work in both layers, physical and datalink. Switch and bridge work in layer to
the frame check sequence. F. C. S is the error checking mechanism that is created at the Datalink Lair.
The F C S is a number based on the values off all the preceding fields in the frame.
The receiver receives data with the F. C s value.
The receiver compares the F. C S to the data field in the frame to check if this F c S is consistent with the data or not.
If, in an unlucky scenario off failed comparison, the following is done. If this F. C. S is saying that the data is not consistent with the field off F. C s, the data is assumed to be corrupted. Then the receiver requests data descending from the sender.
The F C s
is also beneficial. If the comparison is successful, the receiver sends a message off successful data transmission
back to the sender. If the receiver did not receive the success message during specific specific period of time automatically the Sunday reasons. The data frames
the day. Telling Claire is divided into two sub layers. The LLC, which is the logical link on throw layer and the make clear the medium excess controlled layer.
Another function of detailing clear is it control the flow when many different nodes are sending data at the same time. This is the layer where collision is detected and avoided. This is the layer where the schism a CD and this is Miss C. A.
If you remember collision carrier, since multiple exits, collusion, direction or carrier, since multiple excess
collision avoidance take place and are implemented
the day telling Claire has been divided into two sub layers by the IEEE, which are the logical in control, the lnc and the medium excess control.
The LLC is responsible for the Hope tow hop, reliability and helped tow hop flow control.
Reliability means that the data must reach each of the station
with no adults, and the flow control is the synchronization between the speeds off the sender and the speed off the receiver. The McClair adds the physical addresses to the frames off the sender and off the receiver. It is responsible off communication with the physical layer.
Let's talk about the physical layer. The physical air transmits bit streams over the physical league data at the physical airai. Other are either Bates or bites. It stands data signals to media and receives it
physical connection that really exists among the seven layers is between the two physical layers off the sender end off the receiver. Other links that exist between the datalink here and there are just logical links.
The physical layer adapts to the transmission media. Either these cables or wireless media. Either it is copper or fiber optic, either disco, excel or twisted pair. If copper or single mode or multi moody fiber optic, it is responsible for the representation off the ones and zeros responsible for the digital representation.
Is it plus five volt Oprah or Plast revolt or plus zero volt?
The voltage and the electrical representation is the responsibility of the physical layer. Devices that work in the physical layer are the nick, the network interface score. They help the repeater. All of these are devices that work in the physical layer only
as we can see
here are two stacks off seven layers for the thunder and for the receiver. We can imagine a logical link between the application layer here and the application layer there. But the physical link that really exists and that is not imaginary inside. This diagram
is really between the physical link at this underside and the physical link at the receiver side.
It is either through optical fiber or copper wire or electromagnetic waves in the wireless media that transmits a stream off bits and bytes from the physical year here to the physical layer there to represent the data off zeros and ones being sent from the sunder tow the receiver.
By this, we come to the end off the datalink. Clear and physical layer explanation. Thank you.
Up Next
Network Fundamentals

In this basic Network Fundamentals course, you will get an introduction to basic networking concepts to expand your knowledge about network security. You will get a complete overview of networks including wired and wireless computer networks, devices, and protocols.

Instructed By