Data Link Layer Flashcards
What is the data link layer responsible for?
Controlling the hardware and for error detection
What is MAC?
Media Access Control, which controls when a device is allowed to transmit. It solves the main problem in many networks, which is that only a single device is allowed to transmit at a time.
Explain the two approaches to MAC
Controlled Access - One device is allowed to send information at a time, and there is an authority assigning permissions to send, or the permission gets passed from device to device.
Contention based access - Access provided at a first come first serve basis. This requires a mechanism to detect when a frame collision has happened, and order a re-transmission of those frames.
CSMA/SC method
Carrier Sense (CM) - A device listens and only transmits when no other device is doing do
Multiple Access(MA) - Multiple devices share the same medium
Collision Detection(CD) - Mechanism to detect and order re-transmission in case of a collision
What was Ethernet based on?
A single coaxial cable that devices tapped into physically
What is a shared bus topology?
When all devices share the same bus (original Ethernet)
What is a consequence of a shared bus?
All devices receive all the messages sent an the network.
What is a MAC address?
A unique address of 6 bytes to each device connected to a network that can differentiate the messages sent to the devices,
What are the disadvantages of shared-bus Ethernet?
- Half-duplex ( only one device)
- Network broadcasts ALL messages
- Heavy reliance of collision detection limits size of network
What is a star topology?
Central hub component with limited number of sockets, so each device connects with an individual cable.
What is the caveat of shared topology?
It made the network behave as if all the computers were connected with one cable. the physical topology was a star, whilst the logical topology was a bus.
How do switches work on the data link layer?
The switch receives a message from a connected device and doesn’t know where the receiver is, but it knows it isn’t from the sender port. Then is broadcasts the message to all ports, with an ethernet frame that contains the source MAC address.
What is a forwarding table?
The area where the source ports’ information are stored after a switch broadcasts a message.
What does WLAN use to communicate?
A strictly regulated spectrum of radio waves.
What do 2.4GHz and 5GHz refer to?
The two main bands of frequency which WLAN devices use