Chapter 4 Flashcards
3 functions of data link layer?
- Controls when computers transmit (media access control)
- Detects and corrects transmission errors (error control)
- Identifies the start and end of a message by using a PDU (message delineation)
Contention
Computers wait until the circuit is free (no other computers are transmitting) and then transmit whenever they have data to send
Commonly used in Ethernet
Controlled access
One device controls the circuit and determines which clients can transmit at what time.
Access Request
Controlled access technique where the client computers that want to transmit send a request to transmit to the device that is controlling the circuit. The controlling device grants permission for one computer at a time to transmit.
Polling
The process of sending a signal to a client computer that gives it permission to transmit. Periodically the controlling device (ex a wireless access point) polls the client to see if it has data to send.
Several types: roll-call polling, hub polling (token passing)
Roll-call polling
The controller works consecutively through a list of clients, first polling client1, then client 2, and so on, until all are polled
Hub polling (token passing)
One device starts the poll and passes it to the next computer on the multipoint circuit, which sends its message and passes the poll to the next.
Error prevention
Shielding (protecting wires by covering them with an insulating coating)
Moving cables away from sources of noise
Using repeaters or amplifiers
Error detection
Parity checking, checksum, cyclic redundancy checking
Error correction
Retransmission
Forward error correction (satellites)
Asynchronous transmission
Often referred to as start-stop transmission because the transmitting computer can transmit a character whenever it is convenient , and the receiving computer will accept that character.
Each character is transmitted independently of all other characters. To separate the characters and synchronize transmission, a start bit and stop bit are put on the front and back of each individual character.
Synchronous Transmission
All the letters or data in one group of data are transmitted at one time as a block of data called a frame. The start and end of each frame sometimes are established by adding synchronization characters (SYN) to the start of the frame.