Building the shared and shortest path Tree

13 October, 2009 Posted by Zarar As CCIE, CCIE SP, Multicast, PIM-SM (0) Comment

The Shared tree is rooted at the RP and the shortest path tree is rooted at the Source of the multicast traffic.

The following processes will be discussed.

  1. Building the shared tree between the receivers and the RP
  2. Forwarding unicast PIM Register packets from the source to the RP
  3. Building the shortest Path tree between the RP and the source
  4. Building the Shortest-Path Tree between the Source and Receiver

Building the shared tree between the receivers and the RP

  1. A multicast receiver expresses its interest in receiving traffic destined for a multicast group. Typically, it does this using IGMP or MLD.
  2. One of the receiver’s local routers is elected as the Designated Router (DR) for that subnet.
  3. On receiving the receiver’s expression of interest, the DR then sends a PIM Join message towards the RP for that multicast group.
  4. This Join message is known as a (*,G) Join because it joins group G for all sources to that group.
  5. The (*,G) Join travels hop-by-hop towards the RP for the group, and in each router it passes through, a multicast tree state for group G is instantiated.
  6. Eventually, the (*,G) Join either reaches the RP or reaches a router that already has (*,G) Join state for that group.
  7. When many receivers join the group, their Join messages converge on the RP and form a distribution tree for group G that is rooted at the RP.
  8. This is known as the RP Tree (RPT), and is also known as the shared tree because it is shared by all sources sending to that group.
  9. Join messages are resent periodically so long as the receiver remains in the group.
  10. When all receivers on a leaf-network leave the group, the DR will send a PIM (*,G) Prune message towards the RP for that multicast group.
  11. However, if the Prune message is not sent for any reason, the state will eventually time out.

Forwarding unicast PIM Register packets to the RP

  1. A multicast data sender just starts sending data destined for a multicast group.
  2. The sender’s local router (DR) takes those data packets, unicast-encapsulates them, and sends them directly to the RP.
  3. The RP receives these encapsulated data packets, decapsulates them, and forwards them onto the shared tree.
  4. The packets then follow the (*,G) multicast tree state in the routers on the RP Tree being replicated wherever the RP Tree branches, and eventually reaching all the receivers for that multicast group.
  5. The process of encapsulating data packets to the RP is called registering, and the encapsulation packets are known as PIM Register packets.
  6. At this stage, multicast traffic is flowing encapsulated to the RP, and then natively over the RP tree to the multicast receivers.

Building the shortest Path tree between the RP and the source

  1. Register-encapsulation of data packets is inefficient for two reasons:
    1. Encapsulation and decapsulation may be relatively expensive operations for a router to perform, depending on whether or not the router has appropriate hardware for these tasks.
    2. Traveling all the way to the RP, and then back down the shared tree may result in the packets traveling a relatively long distance to reach receivers that are close to the sender. For some applications, this increased latency or bandwidth consumption is undesirable
  2. Therefore when the RP receives a register-encapsulated data packet from source S on group G, it will normally initiate an (S,G) source-specific Join towards S.
  3. This Join message travels hop-by-hop towards S, instantiating (S,G) multicast tree state in the routers along the path.
  4. (S,G) multicast tree state is used only to forward packets for group G if those packets come from source S.
  5. Eventually the Join message reaches S’s subnet or a router that already has (S,G) multicast tree state.
  6. Packets from S start to flow following the (S,G) tree state towards the RP.
  7. While the RP is in the process of joining the source-specific tree for S, the data packets will continue being encapsulated to the RP.
  8. When packets from S also start to arrive natively at the RP, the RP will be receiving two copies of each of these packets.
  9. At this point, the RP starts to discard the encapsulated copy of these packets.
  10. The RP then sends a Register-Stop message back to S’s DR to prevent the DR from unnecessarily encapsulating the packets.
  11. At this stage, traffic will be flowing natively from S along a source-specific tree to the RP, and from there along the shared tree to the receivers.
  12. Where the two trees intersect, traffic may transfer from the source-specific tree to the RP tree and thus avoid taking a long detour via the RP.

Building the Shortest-Path Tree between the Source and Receiver

  1. Although having the RP join back towards the source removes the encapsulation overhead, it does not completely optimize the forwarding paths.
  2. For many receivers, the route via the RP may involve a significant detour when compared with the shortest path from the source to the receiver.
  3. To obtain lower latencies or more efficient bandwidth utilization, a router on the receiver’s LAN, typically the DR, may initiate a transfer from the shared tree to a source-specific shortest-path tree (SPT).
  4. To do this, it issues an (S,G) Join towards S.
  5. This instantiates state in the routers along the path to S.
  6. Eventually, this join either reaches S’s subnet or reaches a router that already has (S,G) state.
  7. When this happens, data packets from S start to flow following the (S,G) state until they reach the receiver.
  8. At this point, the receiver (or a router upstream of the receiver) will be receiving two copies of the data: one from the SPT and one from the RPT.
  9. When the first traffic starts to arrive from the SPT, the DR or upstream router starts to drop the packets for G from S that arrive via the RP tree.
  10. In addition, it sends an (S,G) Prune message towards the RP. This is known as an (S,G,rpt) Prune.
  11. The Prune message travels hop-by-hop, instantiating state along the path towards the RP indicating that traffic from S for G should NOT be forwarded in this direction.
  12. The prune is propagated until it reaches the RP or a router that still needs the traffic from S for other receivers.
  13. By now, the receiver will be receiving traffic from S along the shortest-path tree between the receiver and S.
  14. In addition, the RP is receiving the traffic from S, but this traffic is no longer reaching the receiver along the RP tree.
  15. As far as the receiver is concerned, this is the final distribution tree.

The above content was taken from RFC 4601

Bookmark and Share
Categories : CCIE, CCIE SP, Multicast, PIM-SM

No comments yet.

Leave a comment

(required)

(required)


ann bernstein centre for development

jim bedford telluride email

1954 chateau latour

ambassador passports

dvd decrypter dvd shrink

photoacoustic spectroscopy explosive detection

coldwell banker waxahachie

dr beth green los gatos

holiday village rockingham

canadas nuclear power plants

50 cenf spoof

fms gws usb joystick

efour4ever.com

help me loose wieght

arnold gesell developmental norms

dmx intelligent lighting controller

spring lake country cl ub

impeller pumps for 75 hp merc

discounted veils

architect of the capitol steven ayers

ebm librarian

1 vacuum hose disconnects

knockdown textured ceiling finish

applejournal.com

2005 holiday rambler neptune

atlanta black kittens

orgsystems.com

cj oriental express santee ca

bring out the gimp s dreambook

3 1 1 rule

tormentroom.com

divorce advise for men

jai jai shiva shankar free downoload

12 glass pepper mill

abby hazel kent

1975 miss garden grove karen ness

baby phat flats

devonshire realty champaign

energames.com

el genero del grupo mapeye

david hike football maritime

basil mayo recipe gourmet gang

clorox scooba floor cleaner

dictionary of phrase and fable

aj collins

raja elina sultan azlan

segway golf cart

marthastewartliving.com

bdh inds pvt ltd

battle hymn of teh republic

bacca da silva wikipedia

119 nelson blvd rome ga

alabaster fragrance and color

corine selma

galafilm.com

alhambra bedding

las vegas incall outcall massage

hanna and barbera wallpaper

envol support group moncton nb

hemingway.com

books by sean hannity

a line dropped waist white

0-321-20392-5 book

burrito de carne asada calories

1997 evinrude ocean pro 225 rebuild

01 corolla black halo pro headlights

free toon comics

christina aguilara what a girl wants

abb crack

current weather in san fransisco

a frame structure

1960 s childs rabbit fur cape

aaron jasper

50cc scooter basic maintenance

jacksons of henley in arden

cedar mulch landscaping

a p s new freedom pa

farris vaughan wills murphy

world-builders.org

foreigner i want to know

anchorage symphony

build form xml

avalanche imformation

americas-fr.com

incubus alloy brawn 8

apple cider vinegar oily skin

2007 ma non resident tax forms

12v motion detector

foriegn exchange student movie

cholycystectomy complications

joni diving

bookmark location netscape navigator

bret michaels and jess

timelifepictures.com

guerilla data analysis rapidshare

average intrest rates for auto loans

maybe 4chan song

abbey national plc

ford taurus sho throttle cable

albert and azusa nakama

candy wrappers wedding favors

heating oil martinsburg wv

buying property for tax liens

carousel antiqued king gumball machine

cell phones modified transmitters explosives

desi arnaz west hills hotel

bib trax casing

1972 jensen

different computer platforms

choque cultura peruana espanola

cd duplication dvd replication services

garnishment of wages minnesota

lie neilson on sale

famouse people from harrison county mississippi

infomercial complaint

find pastoral continuing education

phxnews.com

victorias models

44 united kingdom oli members 2008

auditory brain tumors

blue window coverings

chanel j12 chrono

farmers market etna

bbcode goodies

biology quests

gran turismo ps1

aaa bail bonds tucson

benefits of applying sludge to pasture

color wavelength

huntingdon church of christ huntingdon tn

how to cook fillet mignon

ameretto stone sour recipe

1947 virginia life magazine

dave kimberley park police shooting

rental property in surry county nc

30 shower stalls

1990 miata side mirrors

beef stew slow cooker recipe

film makers looking for storys

green and nike and duffel bag

completed san franciscan dollhouse

kino guerin

monstersgame.us

east hartford fossils

downhill ski packages ontario

10 countries with the highest debts

f c osler wall sconce

books ob nikon sb-600

ennis family

mapqueat.com

australia sweat lodge

colormedirect.com

all types of transports molecules

boysonfile.com

30 x 90 modified racecar

automatic gate exporters

aladdin casino vegas

2004 freestar lug nuts

nuestrosranchos.com

1440 randolph apartments mn

futurama desktop themes

rags to richest bussinessmen

decorator bath towel

coffee nerves

computer virus alerts

aromatic aster

animal pride series books tiggy tiger

8 orange cable ties

andy warhol lonesome cowboys

kulhava tereza nov mesto nad metuji

annabella and disneyland and hotel

breezy hills winery iowa

cng conversion dealers in utah

blood the last vampire manga

center for libertarian thought

belgium trio 1980 s trio jazz

a negative blood with antigen

20w halogen miniature bayonet base

christain fellowship service phoenix

ai sushi in colorado springs

themountainsvoice.com

affirmative defense debt florida

kcpq.com

bunny hop da entourage

florida state player blake snider

acacia hardwood hardness

all that remains discography

emilio jacinto pag-ibig

georgialakeandland.com

6v53 detroit diesel governor rebuild

downtown transit sightseeing guide

jeremy thatcher dragon hatcher

how to start jogging

pirelli diablo rosso test report

antiques and collectibles guns recreation

appliances avon colorado homebase

bronchial spasm

barbados 2001

apostolicfriendsforum.com

hotel janelle

janelle bentz

beach picnic lunch recipes

financial builders credit union in kokomo

111 elephant and castle chicago

ammonia system volume calculations

bag buddies

price yanmar diesel engine

mo yanmar tractor dealers

driver 6.5 stiff flex

international managerial decison making

carrying a ladder

12 microfarad 600 volt strobe

readyvetgo.com

graphs on gilded age

acme mopar door hinge repair

4th grade teacher resources

andysporn.com

14 overcounter lavatory

alli ask of you

hollander law loc

aleister crowley writings

12 valve ground fuel plate

alfa romeo gt milton keynes

brit hotel amandine nantes

1992 connecticut decomposed body

3d cad studio

pfizer

pollinator.org

dialog normalization

erikson and spiritual identity

china guangzhou map

canadianfreestuff.com

cristal chandelier cones

28 debt ratio

spank1.net

4c of northern kentucky

effects of teasing

ftnewspaper.com

bonfire snowboard clothing

brian j kelley spy

background commands unix

accommodation near spartanburg memorial auditorium

cheap fligts buenos russia aires

wctravel.com

all state populations

amp plenum fiber

2002 body parts wholesale

desta doberman

city of gastonia north carolina

clean clogged shower head

float needle mikuni

gotta be somebody viedo

buick lacrosse crx 2007

1920x1200 computer wallpaper

2001 volvo s60 catalytic converter

eyecare marketing tips

dog team tavern sticky buns

medici d

butterfly massager with remote hollywood gadgets

3 stringed instrument

claude bouquet histoire modernite

how to use visualization

memo from turner mick jagger

fairfield wyndham grand desert

citymtnviews.com

coarse haired dogs

cityofsherman.org

publix albertson merger pensacola

4 dvd pilates set windsor

christian communion large number

2008 sprint cup series nascar flag

constable agency

1992 john deere track excavator 290d

freddy amaryllis

australian franchising

combat jump in kosovo

a d a wheel chair lifts

elena della donne

burnet county appraisal district

arbitration case against a licensed contractor

duval county clerk of the courts

7mm magnum varmint

8 liner wiring harness

goode company seafood

australia map for garmin

virushead.net

chinese prosperity symbols

kennedy abuse of servants

.357 magnum guns

online marrige games

wonderbox.com.sg

esx ntp debug

boanerges ely knox county illinois

emergencymedicaled.com

ab blood genetic race

baroque collection candelabra in golden ore

casio exilim ex-z1050 review

midwestern machine hydraulics

agricultural services saudi arabia

2007 updated ncaa standings

daniel pitts alabama

pepe and the bottled blondes

aviation vhf uhf multiband fmtransceiver

a natural plant marijuana

alyssa pike

halloweenishere.com

1990 nba finals

46235 what elementary will i attend

dividing probability distributions

aol toolbar calculator

exploresouthernindiana.com

dreaming of you selena lyrics

course in miracles atlanta ga

acetate satin 45

are carrots and celery botanical annuals