data link layer Flashcards

1
Q

What are the networking devices working on data link layer called?

A

A switch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do switches use to determine correct port to transfer a frame to?

A

Destination MAC addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What’s the most common standard for wired LANs?

A

Ethernet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the content of an ethernet frame.

A

Header, payload and trailer. Header has destination and source addresses and type. Payload is the data itself, usually an IP packet. Trailer has FCS (Frame Check sequence) for determining if the frame was damaged or not.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How long is MAC address and how is it written?

A

48 bits / 6 bytes, two hexadecimal digits divided with : or ~

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the function of a switch?

A

To quickly switch ethernet frames between different ports.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can a switch know on which port to forward an incoming Ethernet frame?

A

There’s a destination MAC address in the header of an Ethernet frame. Switch stores MAC addresses in a MAC address table (stored locally on the switch) where known MAC addresses are linked to ports. If the destination MAC address is found on the table, the switch sends the packet out of the corresponding port. If its not on the table, the Ethernet frame is forwarded out of every port excluding the port it came in to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can layer 2 loops happen and how switches prevent them from happening?

A

When multiple switches are connected to each other, there is a possibility that frames are endlessly circulated between them. The switches use Spanning Tree Protocol to prevent loops from occuring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is duplex and half-duplex?

A

Duplex means that two connected devices can both send and recieve data on the shared link at the same time. Half-duplex means that when one device is sending, the other can only receive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are VLANs?

A

Virtual Local Area Networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the benefits on using VLANs?

A

Smaller broadcast domains, Fewer users in networks, less traffic per network, easier management, enhanced security

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the current Wi-Fi standard and what is the maximum transfer rate?

A

Wi-Fi 6 / 802.11ax, 10Gbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly