Multicasting is a vital topic on your BCMSN, CCNP, and CCIE exams, and it can also be very confusing when you first start studying it. Multicasting uses concepts that are unlike anything you've run into in your routing protocol studies, and that can throw you at first. I speak from experience that multicasting is like any other Cisco technology - learn the basics, master the fundamentals, and then build your skills on that foundation.
One such fundamental is the RPF Check, or Reverse Path Forwarding Check.
A fundamental difference between unicasting and multicasting is that a unicast is routed by sending it toward the destination, while a multicast is routed by sending it away from its source.
"toward the destination" and "away from its source" sound like the same thing, but they're not. A unicast is going to follow a single path from source to destination. The only factor the routers care about is the destination IP address - the source IP address isn't a factor.
With multicast routing, the destination is a multicast IP group address. It's the multicast router's job to decide which paths will lead back to the source (upstream) and which paths are downstream from the source. Reverse Path Forwarding refers to the router's behavior of sending multicast packets away from the source rather than toward a specific destination.
The RPF Check is run against any incoming multicast packet. The multicast router examines the interface that the packet arrived on. If the packet comes in on an upstream interface - that is, an interface found on the reverse path that leads back to the source - the packet passes the check and will be forwarded. If the packet comes in on any other interface, the packet is dropped.
The RPF Check serves to verify the integrity of your multicasting network, and also serves as a reminder that the basic operation of multicasting is a lot different than unicasting!
Showing posts with label multicasting. Show all posts
Showing posts with label multicasting. Show all posts
Thursday, December 25, 2008
Cisco CCNP / BCMSN Exam Tutorial: Multicasting And Reserved Addresses
Ever since you picked up your first CCNA book, you've heard about multicasting, gotten a fair idea of what it is, and you've memorized a couple of reserved multicasting addresses. Now as you prepare to pass the BCMSN exam and become a CCNP, you've got to take that knowledge to the next level and gain a true understanding of multicasting. Those of you with an eye on the CCIE will truly have to become multicasting experts!
Having said that, we're going to briefly review the basics of multicasting first, and then future tutorials will look at the different ways in which multicasting can be configured on Cisco routers and switches.
What Is Multicasting?
A unicast is data that is sent from one host to another, while a broadcast is data sent from a host that is destined for "all" host addresses. By "all", we can mean all hosts on a subnet, or truly all hosts on a network.
There's a quite a bit of a middle ground there! A multicast is that middle ground, as a multicast is data that is sent to a logical group of hosts, called a multicast group. Hosts that are not part of the multicast group will not receive the data.
Some other basic multicasting facts:
There's no limit on how many multicast groups a single host can belong to.
The sender is usually unaware of what host devices belong to the multicast group.
Multicast traffic is unidirectional. If the members of the multicast group need to respond, that reply will generally be a unicast.
The range of IP addresses reserved for multicasting is the Class D range, 224.0.0.0 - 239.255.255.255.
That range contains a couple of other reserved address ranges.
224.0.0.0 - 224.0.0.255 is reserved for network protocols only on a local network segment. Packets in this range will not be forwarded by routers, so these packets cannot leave the segment.
Just as Class A, Class B, and Class C networks have private address ranges, so does Class D. The Class D private address range is 239.0.0.0 - 239.255.255.255. Like the other private ranges, these addresses can't be routed, so they can be reused from one network to another.
The remaining addresses fall between 224.0.1.0 and 238.255.255.255. That's the "normal" range of multicast addresses. These addresses can be routed, so they must be unique and should not be duplicated from one network to the next.
In my next BCMSN / CCNP multicasting tutorial, we'll take a look at the different ways in which Cisco routers and switches interact to forward multicast traffic.
Having said that, we're going to briefly review the basics of multicasting first, and then future tutorials will look at the different ways in which multicasting can be configured on Cisco routers and switches.
What Is Multicasting?
A unicast is data that is sent from one host to another, while a broadcast is data sent from a host that is destined for "all" host addresses. By "all", we can mean all hosts on a subnet, or truly all hosts on a network.
There's a quite a bit of a middle ground there! A multicast is that middle ground, as a multicast is data that is sent to a logical group of hosts, called a multicast group. Hosts that are not part of the multicast group will not receive the data.
Some other basic multicasting facts:
There's no limit on how many multicast groups a single host can belong to.
The sender is usually unaware of what host devices belong to the multicast group.
Multicast traffic is unidirectional. If the members of the multicast group need to respond, that reply will generally be a unicast.
The range of IP addresses reserved for multicasting is the Class D range, 224.0.0.0 - 239.255.255.255.
That range contains a couple of other reserved address ranges.
224.0.0.0 - 224.0.0.255 is reserved for network protocols only on a local network segment. Packets in this range will not be forwarded by routers, so these packets cannot leave the segment.
Just as Class A, Class B, and Class C networks have private address ranges, so does Class D. The Class D private address range is 239.0.0.0 - 239.255.255.255. Like the other private ranges, these addresses can't be routed, so they can be reused from one network to another.
The remaining addresses fall between 224.0.1.0 and 238.255.255.255. That's the "normal" range of multicast addresses. These addresses can be routed, so they must be unique and should not be duplicated from one network to the next.
In my next BCMSN / CCNP multicasting tutorial, we'll take a look at the different ways in which Cisco routers and switches interact to forward multicast traffic.
Subscribe to:
Posts (Atom)