28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Multicast senders and receivers are generally PCs or hosts connected to a multicastenabled<br />

router, which is the DR for the sender or receiver. Receivers use a group<br />

membership protocol to tell their DRs which multicast streams they want to receive<br />

and to dynamically join and leave multicast groups. Routers run a multicast routing<br />

protocol to direct the streams from the sources to the correct receiving networks.<br />

Using this protocol, the routers build a delivery tree, called a distribution tree,<br />

between the sender (or senders) and receivers of a multicast group. Multicast data<br />

follows the path of the distribution tree. Data flows downstream on an outgoing<br />

interface toward the receiver and upstream on an incoming interface toward the<br />

source.<br />

Hosts use the Internet Group Membership Protocol (IGMP) to inform routers about<br />

which multicast groups they want to join, and routers use IGMP to verify that a host<br />

is still interested in listening to a group. There are three versions of IGMP, all supported<br />

by JUNOS software. Version 1 (RFC 1112) runs on Windows 95 computers,<br />

and Version 2 (RFC 2236) runs on most Unix hosts, including Mac OS X, and on<br />

Windows 98, Windows 2000, and Windows NT systems. IGMPv2 adds explicit<br />

leave functionality so hosts can report to the router when they are no longer interested<br />

in a group. (In IGMPv1, the host simply stops sending report messages, and<br />

after some time, the router assumes the host is no longer interested in the group and<br />

stops forwarding traffic for that group.) IGMPv3 (RFC 3376), supported by Windows<br />

XP systems, adds source filtering so the host can include and exclude specific<br />

sources when requesting multicast packets. Source filtering is required for SSM.<br />

Perhaps the biggest difference between unicast and multicast is that unicast routing<br />

is concerned about where a packet is going and multicast routing is concerned about<br />

where a packet comes from. Unicast routing looks up a packet’s destination address<br />

in the routing table to determine which interface leads toward the destination. The<br />

result is that unicast routing forwards packets from their source to (or toward) a destination.<br />

Multicast routing uses RPF to set up forwarding state from the receiver to<br />

the source (or root) of the distribution tree. RPF checks the routing table to determine<br />

the interface that is closest to the root of the tree, and this RPF interface<br />

becomes the incoming interface for the multicast group.<br />

Multicast uses two methods to build distribution trees. With shortest path tree (SPT),<br />

the root of the tree is the multicast source. When a router learns that it has a directly<br />

connected listener for a group, it tries to join the tree for that group, building an SPT<br />

for that group. The router sends a Join message (specifically, an (S,G) Join message)<br />

out the upstream router for that group to let the upstream router know it wants to<br />

receive packets for the group. The upstream routers repeat this process until the Join<br />

message either reaches the DR for the multicast source or reaches a router that<br />

already has multicast forwarding state for the (S,G) pair. This process creates a<br />

branch from the receiver to the source.<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Introduction | 577

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!