Module 7: Ethernet Switching Flashcards

1
Q

What is the purpose of the organizationally unique identifier (OUI) in an Ethernet MAC address?

A

The OUI is a unique 24-bit or 3-byte code obtained by vendors from the IEEE to ensure that all Ethernet MAC addresses on their devices/interfaces are globally unique. It is used to identify the manufacturer of the device/interface.

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

What happens when a NIC receives an Ethernet frame?

A

When a NIC receives an Ethernet frame, it examines the destination MAC address to see if it matches the physical MAC address that is stored in RAM. If there is no match, the device discards the frame. If there is a match, it passes the frame up the OSI layers, where the de-encapsulation process takes place. The Ethernet header includes a Source MAC address and a Destination MAC address, which are used to ensure that the frame is delivered to the correct device on the network.

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

What information is included in the Ethernet header when forwarding a message to an Ethernet network?

A

The Ethernet header includes a Source MAC address and a Destination MAC address.

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

What happens when a NIC receives an Ethernet frame?

A

The NIC examines the destination MAC address to see if it matches the physical MAC address that is stored in RAM. If there is no match, the device discards the frame. If there is a match, it passes the frame up the OSI layers, where the de-encapsulation process takes place. Additionally, Ethernet NICs will also accept frames if the Destination MAC address is a broadcast or a multicast group of which the host is a member.

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

What is the purpose of Address Resolution Protocol (ARP) and Neighbor Discovery (ND)?

A

ARP is used by a source host to determine the MAC address associated with an IPv4 address, while ND is used by a source host to determine the MAC address associated with an IPv6 address. Both protocols are used to resolve network layer addresses (IPv4 and IPv6) to data link layer addresses (MAC addresses) for communication on the local network.

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

What are the features of an Ethernet broadcast in terms of its destination MAC address and how it is flooded across a network?

A

An Ethernet broadcast has a destination MAC address of FF-FF-FF-FF-FF-FF in hexadecimal, which is equivalent to 48 ones in binary. When an Ethernet broadcast is sent, it is flooded out of all Ethernet switch ports except the incoming port. However, it is not forwarded by a router, which means it is confined to the local network segment.

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

What is the difference between an Ethernet multicast frame and an IPv4/IPv6 multicast packet in terms of their destination MAC addresses?

A

An Ethernet multicast frame is received and processed by a group of devices that belong to the same multicast group, and its destination MAC address varies depending on the multicast group address. On the other hand, both IPv4 and IPv6 multicast packets have specific destination MAC addresses, with the encapsulated data destination MAC address for IPv4 being 01-00-5E and for IPv6 being 33-33.

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

What happens when an Ethernet multicast frame is received by a switch or a router?

A

When an Ethernet multicast frame is received by a switch, it is flooded out all Ethernet switch ports except the incoming port, unless the switch is configured for multicast snooping. On the other hand, when an Ethernet multicast frame is received by a router, it is not forwarded, unless the router is configured to route multicast packets.

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

What does a Layer 2 Ethernet Switch use to make its forwarding decisions?

A

A Layer 2 Ethernet Switch makes its forwarding decisions based solely on the Layer 2 Ethernet MAC addresses

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

How does an Ethernet switch examine its MAC address table to make a forwarding decision for each frame?

A

An Ethernet switch examines its MAC address table to determine the outgoing port for each frame based on the destination MAC address of the frame. If the MAC address is not in the table, the switch floods the frame out all ports except the incoming port.

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

What is a MAC address table in a Layer 2 Ethernet switch and how does it learn new information?

A

The MAC address table in a Layer 2 Ethernet switch is a Content Addressable Memory (CAM) table. The switch learns new information by examining the source MAC address and the port number of each frame that enters the switch. If the source MAC address does not exist in the table, it is added along with the incoming port number. If the source MAC address does exist, the switch updates the refresh timer for that entry. By default, most Ethernet switches keep an entry in the table for 5 minutes.

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

What does an Ethernet switch do if it cannot find a match between the destination MAC address of a frame and an entry in its MAC address table?

A

If an Ethernet switch cannot find a match between the destination MAC address of a frame and an entry in its MAC address table, it will forward the frame out all ports except the incoming port. This is known as an unknown unicast. If the destination MAC address is a broadcast or a multicast, the frame is flooded out all ports except the incoming port

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

What are the two forwarding methods that switches use for switching data between network ports?

A

The two forwarding methods that switches use for switching data between network ports are:
store-and-forward switching and
cut-through switchin

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

What is the difference between Store-and-forward switching and Cut-through switching in Ethernet networks?

A

Store-and-forward switching is a method in which the switch receives the entire frame, computes the CRC, and looks up the destination address before forwarding the frame out of the correct port.
Cut-through switching, on the other hand, forwards the frame before it is entirely received. This means that the switch only needs to read the destination MAC address before forwarding the frame out of the correct port, making it faster than store-and-forward switching. However, cut-through switching can result in forwarding frames with errors, as the switch has not yet verified the CRC.

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

What are the two variants of cut-through switching?

A

The two variants of cut-through switching are fast-forward switching and fragment-free switching.

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

What is port-based memory buffering in Ethernet switching?

A

Port-based memory buffering is a technique used by Ethernet switches to store frames in queues that are linked to specific incoming and outgoing ports. A frame is only transmitted to the outgoing port when all the frames ahead in the queue have been successfully transmitted.

17
Q

What is shared memory buffering in Ethernet switching?

A

Shared memory buffering is a technique used by Ethernet switches to deposit all frames into a common memory buffer shared by all switch ports, with the amount of buffer memory required by a port dynamically allocated. The frames in the buffer are dynamically linked to the destination port, enabling a packet to be received on one port and then transmitted on another port without moving it to a different queue.

18
Q

What is the difference between port-based and shared memory buffering in Ethernet switching?

A

Port-based memory buffering stores frames in queues linked to specific incoming and outgoing ports, while shared memory buffering deposits all frames into a common memory buffer shared by all switch ports. In port-based buffering, a frame is only transmitted to the outgoing port when all frames ahead in the queue have been successfully transmitted, while in shared memory buffering, frames are dynamically linked to the destination port, enabling packets to be received on one port and then transmitted on another port without moving them to a different queue.

19
Q

What are the advantages of shared memory buffering in Ethernet switching?

A

Shared memory buffering allows larger frames to be transmitted with fewer dropped frames. This is important in asymmetric switching, which allows for different data rates on different ports, enabling more bandwidth to be dedicated to certain ports, such as a server port. Additionally, shared memory buffering enables packets to be received on one port and then transmitted on another port without moving them to a different queue, which can improve network performance.

20
Q

What is the difference between symmetric and asymmetric switching?

A

In symmetric switching, all ports on a switch have the same data rate, meaning they can transmit and receive at the same speed. In contrast, asymmetric switching allows for different data rates on different ports, enabling more bandwidth to be dedicated to certain ports, such as those connected to servers or other high-bandwidth devices. This can result in better performance and fewer dropped frames for those devices.

21
Q

What is the difference between full-duplex and half-duplex settings on a switch?

A

Full-duplex and half-duplex are two different types of duplex settings used for communication on an Ethernet network. In full-duplex mode, both ends of the connection can send and receive data simultaneously, while in half-duplex mode, only one end of the connection can send data at a time. Full-duplex mode offers faster and more efficient communication, as it eliminates collisions and allows for a more consistent flow of data. Half-duplex mode, on the other hand, is simpler and more cost-effective, but can lead to slower communication and network congestion due to collisions.

22
Q

What is autonegotiation and what is its purpose?

A

Autonegotiation is a function found on most Ethernet switches and network interface cards (NICs) that enables two devices to automatically negotiate the best speed and duplex capabilities. The purpose of autonegotiation is to ensure that both devices on a connection operate at the highest possible speed and in the correct duplex mode. By automatically determining the highest speed and correct duplex setting, autonegotiation simplifies the task of setting up a connection and ensures that the connection operates at optimal performance levels.

23
Q

What are the causes and best practices for avoiding duplex mismatch on Ethernet links?

A

Duplex mismatch can occur when:

One or both ports on a link are reset, and the autonegotiation process does not result in both link partners having the same configuration
Users reconfigure one side of a link and forget to reconfigure the other
To avoid duplex mismatch, it is recommended to:
Configure both Ethernet switch ports as full-duplex
Have both sides of the link set to either autonegotiation on or off
Use the same speed and duplex settings on both sides of the link
Ensure that all devices on the network are using the same duplex settings