www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / Design / CCDP / Chapter 4: Designing Advanced IP Multicast / Chapter 4 – Summary

Chapter 4 – Summary

Multicasting implies taking a single data packet and sending it to a group of destinations simultaneously. This behavior is a many-to-many transmission, as opposed to other types of communication such as unicast, broadcast, or anycast.

Senders in unicast transmissions must know the addresses of all of the receivers. When using multicast, traffic can be sent to the multicast address, without the need to know specific address information for the receivers. In addition, the router processing of packets is dramatically reduced in multicast environments. The main goals of using multicasting are as follows:

  • Reduce processing on the sending devices
  • Reduce bandwidth consumption
  • Reduce forwarding processing on routers
  • Reduce processing on the receiving host, especially if they are not interested in the transmission

The major IPv4 multicast components include the following:

  • Group addressing: Layer 3 addresses and the underlying Layer 2 multicast MAC addresses.
  • Multicast routing (control plane): IGMP and PIM.
  • Forwarding mechanisms (data plane): Reverse Path Forwarding (RPF).

IPv4 multicast uses the Class D address space, meaning the 224.0.0.0/4 range (224.0.0.0 to 239.255.255.255). This address space is not fully available to multicast designers due to some address range reservations, which include:

  • Link-local addresses: 224.0.0.0/24 (224.0.0.0 to 224.0.0.255); link-local addressing is very common with routing protocols. For example, OSPF utilizes 224.0.0.5 and 224.0.0.6 in its operation.
  • Source-specific multicast: 232.0.0.0/8 (232.0.0.0 to 232.255.255.255).
  • Administratively scoped: 239.0.0.0/8 (239.0.0.0 to 239.255.255.255); the administratively scoped address range can be used for multicast applications inside corporate boundaries.

The control plane is built with host-to-router and router-to-router communication protocols. Host-to-router communication is accomplished with the Internet Group Management Protocol (IGMP), and router-to-router communication is achieved with Protocol Independent Multicast (PIM).

IP multicast technology allows information to be sent over networks to a group of destinations in a very efficient way. In campus networks, the most important protocol used for implementing multicast is IGMP. The multicast data is sent to a multicast group and the users receive the information by joining the specific multicast group using IGMP.

PIM is used by multicast-enabled routers to forward incoming multicast streams to a particular switch port. PIM uses typical routing tables that are populated by regular unicast routing protocols (like EIGRP and OSPG) and exchanges multicast routing updates between PIM routers. PIM operates in multiple modes:

  • PIM Sparse Mode (PIM-SM)
  • PIM Dense Mode (PIM-DM)
  • Bidirectional PIM
  • PIM Source-Specific Multicast (PIM-SSM)

The PIM operation mode used most often is Sparse Mode, which utilizes an explicit join-type behavior, so the receiver does not get the multicast traffic unless it asks for it. This can be considered a “pull” mechanism, as opposed to the “push” mechanisms used in PIM-DM. The “pull” mechanism allows PIM-SM to forward multicast traffic only to the network segments with active receivers that have actually requested the data. PIM-SM distributes the data about active sources by forwarding data packets on Shared Trees.

Bidirectional PIM is an enhancement that was designed for the effective many-to-many communication in an individual PIM domain. Many multicast applications use the many-to-many model, where every host is both a receiver and a sender. Bidirectional PIM allows packets to be forwarded from a source to the RP using only the Shared Tree state, so the traffic is routed through a bidirectional Shared Tree that is rooted at the RP for the specific group.

In multicast environments, hosts must have knowledge of the RPs because without this information, sources cannot register and clients cannot join multicast groups. Routers must agree on the RP information on a per-group basis. An RP is required in networks that have a Shared Tree, meaning networks that use PIM-SM or Bidirectional PIM. RPs can be configured using many methods, such as the following:

  • Static RP addressing
  • Anycast RP
  • Auto-RP
  • Bootstrap Router (BSR) – the most preferred method

IGMP is a protocol that operates at Layer 3, so the Layer 2 switches are not aware of the hosts that want to join the multicast groups. By default, Layer 2 switches flood the received multicast frames to all of the ports in the VLAN, even if only one device on one port needs the specific information. To improve the switches’ behavior when they receive multicast frames, technologies that allow for effective implementation of multicast at Layer 2 can utilize the following:

  • IGMP snooping
  • Cisco Group Management Protocol (CGMP)

CGMP is a Cisco proprietary protocol that runs between the multicast router and the switch. It works as a client-server model, where the router is a CGMP server and the switch is a CGMP client. CGMP allows switches to communicate with multicast-enabled routers to figure out whether any users attached to the switches are part of any particular multicasting groups and whether they qualify for receiving the specific stream of data.

When using IGMP snooping, switches listen in on the IGMP messages between the router and the hosts and automatically update their MAC address tables. In other words, IGMP snooping allows the switch to intercept the multicast receiver registration message, and based on the information gathered it makes changes to its forwarding table.

When designing IP multicast solutions, the security goals should be defined because multicast traffic has a different nature than unicast traffic does. The security goals must focus on the differences between unicast and multicast and they include the following aspects:

  • State information
  • Replication process
  • The join process
  • Unidirectional flows

In a multicast environment, it is important to keep the network operating and the multicast traffic flowing, even when experiencing the following:

  • DoS (Denial of Service) attacks
  • Malfunctioning RPs
  • Configuration errors

An important consideration regarding IP multicast security is the potential for various types of attack traffic (e.g., from rogue sources to multicast hosts and to networks that do not have receivers, and from rogue receivers).

A multicast network can also suffer from receiver attacks, which come in three categories based on the target of the attacks:

  • Content attacks
  • Bandwidth attacks
  • Attacks against routers and switches

In IPv6, IGMP is replaced by the Multicast Listener Discovery (MLD) protocol, which is based on ICMPv6 behavior. PIMv2 for IPv6 supports only PIM-SM behavior, not Dense Mode or Sparse-Dense Mode (Bidirectional PIM is supported only in static configurations). Just as in IPv4, the IPv6 unicast Routing Information Base (RIB) is used for the RPF checks. When configuring PIMv2, it uses tunnels that are dynamically created and those tunnels are used as an efficient way to carry out the multicast source registration process.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.