Data Link Control and Protocols
Data Link Control and Protocols
Here's how it works, when a device needs to send data to another device
on the same local network, it first checks its ARP cache to see if it already
knows the MAC address of the destination device. If it doesn't know the
MAC address, it sends an ARP request to the network asking for the MAC
address of the device with the given IP address.
Flow Control
is the process of managing the rate of data transmission between two devices to ensure
that the receiving device can process and store the incoming data without getting
overwhelmed.
Flow control in DLC uses a technique called Buffering. The receiving device has a
buffer or temporary storage space where it stores incoming data until it is ready to
process it. When the buffer becomes full, the receiving device sends a message to the
sending device to stop transmitting data until it can catch up.
There are two main types of flow control techniques
Checksums: Checksums are more complex than parity checking and involve adding a
special value to the data being transmitted. The receiving device calculates the
checksum using the same formula and compares it to the transmitted value to check
for errors.
Cyclic Redundancy Checks (CRC): CRC is a more advanced technique that
involves generating a complex code based on the data being transmitted. The
receiving device calculates the same code and compares it to the transmitted code to
check for errors.
Requirements for error control mechanism:
Go-Back-N ARQ