Module 7: Ethernet Switching Flashcards
What is the purpose of the organizationally unique identifier (OUI) in an Ethernet MAC address?
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.
What happens when a NIC receives an Ethernet frame?
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.
What information is included in the Ethernet header when forwarding a message to an Ethernet network?
The Ethernet header includes a Source MAC address and a Destination MAC address.
What happens when a NIC receives an Ethernet frame?
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.
What is the purpose of Address Resolution Protocol (ARP) and Neighbor Discovery (ND)?
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.
What are the features of an Ethernet broadcast in terms of its destination MAC address and how it is flooded across a network?
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.
What is the difference between an Ethernet multicast frame and an IPv4/IPv6 multicast packet in terms of their destination MAC addresses?
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.
What happens when an Ethernet multicast frame is received by a switch or a router?
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.
What does a Layer 2 Ethernet Switch use to make its forwarding decisions?
A Layer 2 Ethernet Switch makes its forwarding decisions based solely on the Layer 2 Ethernet MAC addresses
How does an Ethernet switch examine its MAC address table to make a forwarding decision for each frame?
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.
What is a MAC address table in a Layer 2 Ethernet switch and how does it learn new information?
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.
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?
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
What are the two forwarding methods that switches use for switching data between network ports?
The two forwarding methods that switches use for switching data between network ports are:
store-and-forward switching and
cut-through switchin
What is the difference between Store-and-forward switching and Cut-through switching in Ethernet networks?
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.
What are the two variants of cut-through switching?
The two variants of cut-through switching are fast-forward switching and fragment-free switching.