Ch 13: Multicast Flashcards
Which of the following transmission methods is multicast known for?
a. One-to-one
b. One-to-all
c. One-for-all
d. All-for-one
e. One-to-many
E. Multicast uses the one-to-many transmission method, where one server sends multicast traffic to a group of receivers.
Which protocols are essential to multicast operation? (Choose two.)
- Open Shortest Path First (OSPF)
- Protocol Independent Multicast (PIM)
- Internet Group Management Protocol (IGMP)
- Auto-RP and BSR
2 and 3.
Multicast relies on Internet Group Management Protocol (IGMP) for its operation in Layer 2 networks and Protocol Independent Multicast (PIM) for its operation in Layer 3 networks. It is routing protocol independent and can work with static RPs.
Which of the following multicast address ranges match the administratively scoped block? (Choose two.)
- 239.0.0.0 to 239.255.255.255
- 232.0.0.0 to 232.255.255.255
- 224.0.0.0 to 224.0.0.255
- 239.0.0.0/8
- 224.0.1.0/24
1 and 4.
239.0.0.0/8 (239.0.0.0 to 239.255.255.255) is the IANA IP multicast address range assigned to the administratively scoped block.
Administratively scoped
The 239.0.0.0/8 range is assigned by RFC 2365 for private use within an organization. Per the RFC, packets destined to administratively scoped IPv4 multicast addresses do not cross administratively defined organizational boundaries, and administratively scoped IPv4 multicast addresses are locally assigned and do not have to be globally unique. The RFC also discusses structuring the 239.0.0.0/8 range to be loosely similar to the scoped IPv6 multicast address range described in RFC 1884.
The first 24 bits of a multicast MAC address always start with ______.
- 01:5E:00
- 01:00:53
- 01:00:5E
- 01:05:E0
- none of the above
3.
The first 24 bits of a multicast MAC address always start with 01:00:5E. The low-order bit of the first byte is the individual/group bit (I/G), also known as the unicast/multicast bit, and when it is set to 1, it indicates that the frame is a multicast frame and the 25th bit is always 0.
What does a host need to do to start receiving multicast traffic?
- Send an IGMP join
- Send an unsolicited membership report
- Send an unsolicited membership query
- Send an unsolicited group specific query
2.
An IGMP membership report is a message type that receivers use to join a multicast group or to respond to a local router’s membership query message.
What is the main difference between IGMPv2 and IGMPv3?
- IGMPv3’s max response time is 10 seconds by default.
- IGMPv3 sends periodic IGMP membership queries.
- IGMPv3 introduced a new IGMP membership report with source filtering support.
- IGMPv3 can only work with SSM, while IGMPv2 can only work with PIM-SM/DM.
C.
IGMPv3 supports all IGMPv2’s IGMP message types and is backward compatible with it. The differences between the two are that IGMPv3 added new fields to the IGMP membership query and introduced a new IGMP
T/F: IGMPv3 was designed to work exclusively with SSM and is not backward compatible with PIM-SM.
False.
IGMPv3 is backward compatible with IGMPv2. To receive traffic from all sources, which is the behavior of IGMPv2, a receiver uses exclude mode membership with an empty exclude list.
How can you avoid flooding of multicast frames in a Layer 2 network?
- Disable unknown multicast flooding
- Enable multicast storm control
- Enable IGMP snooping
- Enable control plane policing
3.
IGMP snooping, defined in RFC 4541, examines IGMP joins sent by receivers and maintains a table of interfaces to IGMP joins. When a switch receives a multicast frame destined for a multicast group, it forwards the packet only out the ports where IGMP joins were received for that specific multicast group. This prevents multicast traffic from flooding in a Layer 2 network.
Which of the following best describe SPT and RPT? (Choose two.)
- RPT is a source tree where the rendezvous point is the root of the tree.
- SPT is a source tree where the source is the root of the tree.
- RPT is a shared tree where the rendezvous point is the root of the tree.
- SPT is a shared tree where the source is the root of the tree.
2 and 3.
A source tree is a multicast distribution tree where the source is the root of the tree, and branches form a distribution tree through the network all the way down to the receivers. When this tree is built, it uses the shortest path through the network from the source to the leaves of the tree; for this reason, it is also referred to as a shortest path tree.
A shared tree is a multicast distribution tree where the root of the shared tree is not the source but a router designated as the rendezvous point (RP). For this reason, shared trees are also referred to as RP trees (RPTs).
Which of the following most accurately describes what an LHR does after it receives an IGMP join from a receiver?
- It sends a PIM register message toward the RP.
- It sends a PIM join toward the RP.
- It sends a PIM register message toward the source.
- It sends a PIM join message toward the source.
2.
PIM-SM uses an explicit join model where the receivers send an IGMP join to their locally connected router, which is also known as the last-hop router (LHR), and this join causes the LHR to send a PIM join in the direction of the root of the tree, which is either:
- the RP in the case of a shared tree (RPT)
- or the first-hop router (FHR) where the source transmitting the multicast streams is connected in the case of an SPT.
For a shared tree join:
The LHR knows the IP address of the RP for group G, and it then sends a (*,G) PIM join for this group to the RP. If the RP were not directly connected, this (*,G) PIM join would travel hop-by-hop to the RP, building a branch of the shared tree that would extend from the RP to the LHR. At this point, group G multicast traffic arriving at the RP can flow down the shared tree to the receiver.
What does an FHR do when an attached source becomes active and there are no interested receivers?
- It unicasts register messages to the RP and stops after a register stop from the RP.
- It unicasts encapsulated register messages to the RP and stops after a register stop from the RP.
- It waits for the RP to send register message indicating that there are interested receivers.
- It multicasts encapsulated register messages to the RP and stops after a register stop from the RP.
- It unicasts encapsulated register messages to the RP until there are interested receivers.
2.
When there is an active source attached to the FHR, the FHR encapsulates the multicast data from the source in a special PIM-SM message called the register message and unicasts that data to the RP by using a unidirectional PIM tunnel.
When the RP receives the register message, it decapsulates the multicast data packet inside the register message, and if there is no active shared tree because there are no interested receivers, the RP sends a register stop message to the FHR, instructing it to stop sending the register messages.
Which of the following is a group-to-RP mapping mechanism developed by Cisco?
- BSR
- Static RP
- Auto-RP
- Phantom RP
- Anycast-RP
3.
Auto-RP is a Cisco proprietary mechanism that automates the distribution of group-to-RP mappings in a PIM network.
T/F: When PIM is configured in dense mode, it is mandatory to choose one or more routers to operate as rendezvous points (RPs).
False.
PIM-DM does not use RPs. When PIM is configured in sparse mode, it is mandatory to choose one or more routers to operate as rendezvous points (RPs).
T/F: Multicast relies on Protocol Independent Multicast (PIM) for its operation in Layer 2 networks and Internet Group Management Protocol (IGMP) for its operation in Layer 3 networks.
False.
Multicast communication is a technology that optimizes network bandwidth utilization and conserves system resources.
It relies on Internet Group Management Protocol (IGMP) for its operation in Layer 2 networks and Protocol Independent Multicast (PIM) for its operation in Layer 3 networks.
Figure 13-1 illustrates how IGMP operates between the receivers and the local multicast router and how PIM operates between routers. These two technologies work hand-in-hand to allow multicast traffic to flow from the source to the receivers, and they are explained in this chapter.
T/F: Enabling directed broadcast on a Cisco router exposes it to DDoS attacks.
True.
IP Directed broadcasts are an alternative to streaming many streams sans multicast, however there are risks and costs.
RISK: IP directed broadcast functionality is not enabled by default on Cisco routers, and enabling it exposes the router to distributed denial-of-service (DDoS) attacks.
COST: The network interface cards (NICs) of uninterested workstations must still process the broadcast packets and send them on to the workstation’s CPU, which wastes processor resources. In Figure 13-3, Workstation F is processing unwanted packets.
For these reasons, broadcast traffic is generally not recommended.
What is an MDT, in reference to Multicast?
Multicast traffic provides one-to-many communication, where only one data packet is sent on a link as needed and then is replicated between links as the data forks (splits) on a network device along the multicast distribution tree (MDT).
What are the data packets associated with a multicast session called collectively? What is their collective destination address called?
The data packets are known as a stream that uses a special destination IP address, known as a group address.
T/F:
A server for a stream manages only one session, and network devices filter the multicast stream if no receivers are on that segment.
False.
A server for a stream manages only one session, and network devices selectively request to receive the stream. They do not filter the traffic, but rather, they never receive it if they do not register with the server.
However, if there is one receiver on a segment, the router will forward the traffic to that segment, but only receivers that are interested in the video stream process the multicast traffic. The others simply drop it.
In Multicast, what is the sender called? and the clients?
A server sends a stream and recipient devices of a multicast stream are known as receivers.
What is the reserved range of multicast addresses in IPv4? give answer in net/mask, DD notation and the leading 4 binary bits in first octet.
The Internet Assigned Number Authority (IANA) assigned the IP Class D address space 224.0.0.0/4 for multicast addressing.
It includes addresses ranging from 224.0.0.0 to 239.255.255.255.
The first 4 bits of this whole range start with 1110.
What is the SSM range of IP addresses in multicast?
Source Specific Multicast (SSM) block (232.0.0.0/8): This is the default range used by SSM.
SSM is a PIM extension that was added to IGMPv3 and does not exist in IGMPv1 or IGMPv2.
SSM forwards traffic to receivers from only those multicast sources for which the receivers have explicitly expressed interest; it is primarily targeted to one-to-many applications.
T/F: Every multicast group address (IP address) is mapped to a special MAC address that allows Ethernet interfaces to identify multicast packets to a specific group.
True.
Every multicast group address (IP address) is mapped to a special MAC address that allows Ethernet interfaces to identify multicast packets to a specific group.
A LAN segment can have multiple streams, and a receiver knows which traffic to send to the CPU for processing based on the MAC address assigned to the multicast traffic.
The first 24 bits of a multicast MAC address always start with 01:00:5E.
What is the I/G bit in multicast?
The first 24 bits of a multicast MAC address always start with 01:00:5E.
The low-order bit of the first byte is the individual/group bit (I/G) bit, also known as the unicast/multicast bit, and when it is set to 1, it indicates that the frame is a multicast frame, and the 25th bit is always 0.
The lower 23 bits of the multicast MAC address are copied from the lower 23 bits of the multicast group IP address.
Figure 13-5 shows an example of mapping the multicast IP address 239.255.1.1 into multicast MAC address 01:00:5E:7F:01:01. The first 25 bits are always fixed; the last 23 bits that are copied directly from the multicast IP address vary.
T/F: When a receiver wants to receive a specific multicast feed, it sends an IGMP join using the multicast IP group address for that feed.
True.
When a receiver wants to receive a specific multicast feed, it sends an IGMP join using the multicast IP group address for that feed. The receiver reprograms its interface to accept the multicast MAC group address that correlates to the group address. For example, a PC could send a join to 239.255.1.1 and would reprogram its NIC to receive 01:00:5E:7F:01:01. If the PC were to receive an OSPF update sent to 224.0.0.5 and its corresponding multicast MAC 01:00:5E:00:00:05, it would ignore it and eliminate wasted CPU cycles by avoiding the processing of undesired multicast traffic.
What is IGMP?
Internet Group Management Protocol (IGMP) is the protocol that receivers use to join multicast groups and start receiving traffic from those groups.
IGMP must be supported by receivers and the router interfaces facing the receivers. When a receiver wants to receive multicast traffic from a source, it sends an IGMP join to its router. If the router does not have IGMP enabled on the interface, the request is ignored.
How many versions of IGMP exist?
Three versions of IGMP exist.
- RFC 1112 defines IGMPv1, which is old and rarely used.
- RFC 2236 defines IGMPv2, which is common in most multicast networks
- RFC 3376 defines IGMPv3, which is used by SSM.
T/F: IGMP messages are encapsulated in an IP packet with a protocol number of 2.
True.
What is the TTL on an IGMP message?
Messages are sent with the IP router alert option set, which indicates that the packets should be examined more closely, and a time-to-live (TTL) of 1.
IGMP packets are sent with a TTL of 1 so that packets are processed by the local router and not forwarded by any router.
What is the Type field in an IGMP message?
Type: This 8-bit field describes five different types of IGMP messages used by routers and receivers:
- Version 2 membership report (type value 0x16) is a message type also commonly referred to as an IGMP join; it is used by receivers to join a multicast group or to respond to a local router’s membership query message.
- Version 1 membership report (type value 0x12) is used by receivers for backward compatibility with IGMPv1.
- Version 2 leave group (type value 0x17) is used by receivers to indicate they want to stop receiving multicast traffic for a group they joined.
- General membership query (type value 0x11) is sent periodically sent to the all-hosts group address 224.0.0.1 to see whether there are any receivers in the attached subnet. It sets the group address field to 0.0.0.0.
- Group specific query (type value 0x11) is sent in response to a leave group message to the group address the receiver requested to leave. The group address is the destination IP address of the IP packet and the group address field.
T/F: The Checksum field on an IGMP message is 16-bit 1s complement of the 1s complement sum of the IGMP message.
True.
Checksum: This field is the 16-bit 1s complement of the 1s complement sum of the IGMP message. This is the standard checksum algorithm used by TCP/IP.
What is the unit of time in the ‘max response time’ field in an IGMP message?
Max response time: This field is set only in general and group-specific membership query messages (type value 0x11); it specifies the maximum allowed time before sending a responding report in units of one-tenth of a second. In all other messages, it is set to 0x00 by the sender and ignored by receivers.
What is an IGMP join?
IGMP join is not a valid message type in the IGMP RFC specifications, but the term is commonly used in the field in place of IGMP membership reports because it is easier to say and write.
When a receiver wants to receive a multicast stream, how does it do so?
- When a receiver wants to receive a multicast stream, it sends an unsolicited membership report, commonly referred to as an IGMP join, to the local router for the group it wants to join (for example, 239.1.1.1).
- The local router then sends this request upstream toward the source using a PIM join message.
- When the local router starts receiving the multicast stream, it forwards it downstream to the subnet where the receiver that requested it resides.