1. Trang chủ
  2. » Công Nghệ Thông Tin

Module 7- Lesson 3 Multicast Routing Protocols potx

47 281 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Multicast Routing Protocols
Trường học Bachkhoa Networking Academy
Chuyên ngành Networking
Thể loại lecture notes
Năm xuất bản 2008
Thành phố Ho Chi Minh City
Định dạng
Số trang 47
Dung lượng 747,64 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Multicast Distribution TreesSource or Shortest Path trees  Uses more memory but optimal paths from source to all receivers; minimizes delayShared trees  Uses less memory but sub-optima

Trang 1

BSCI Module 7 Lesson 3

Multicast Routing Protocols

Trang 2

 Describe a multicast network in terms of the IP

multicast routing protocols and processes used over various segments

 Describe multicast distribution trees including source

trees and shared trees

 Describe the (S,G) and (*,G) multicast distribution trees

entry formats

 Explain IP multicast routing

 Identify the characteristics of each of the PIM modes

 Describe the operation of PIM-DM, PIM-SM, and PIM

sparse-dense modes

Trang 3

Multicast Distribution Trees

Trang 4

Multicast Protocol Basics

Types of multicast distribution trees:

stress the storage capability of routers

the network– A core router serves as a rendezvous point (RP)

Trang 5

Shortest Path or Source Distribution Tree

Trang 6

Multicast Distribution Trees

Shortest Path or Source Distribution Tree

Trang 7

Multicast Distribution Trees

Shared Distribution Tree

Trang 8

Multicast Distribution Trees

D (RP)

Shared Distribution Tree

Trang 9

Multicast Distribution Tree Identification

 For any (*) source sending to this group

 Traffic is forwarded through a meeting point for this

group

Trang 10

Multicast Distribution Trees

Source or Shortest Path trees

 Uses more memory but optimal paths from source to all

receivers; minimizes delayShared trees

 Uses less memory but sub-optimal paths from source

to all receivers; may introduce extra delay

Trang 11

Self Check

1 What is an advantage of Shortest Path Trees

compared to Shared Trees?

2 What does multicast use to make it’s forwarding

decisions?

3 In the STP notation (S,G), what do each of the

characters represent?

4 What is the root of the shared tree called?

5 Compare Shared Distribution trees and SPT trees in

terms of router memory and packet delivery delay

Trang 12

Multicast Routing

Trang 13

IP Multicast Routing

 In unicast routing, when the router receives the packet,

the decision about where to forward the packet depends on the destination address of the packet

 In multicast routing, the decision about where to

forward the multicast packet depends on where the packet came from

 Multicast routing uses a mechanism called Reverse

Path Forwarding (RPF) to prevent forwarding loops and

to ensure the shortest path from the source to the receivers

Trang 14

Protocols for IP Multicast Routing

PIM is used between routers so that they can track which

multicast packets to forward to each other and to their

directly connected LANs

Trang 15

Protocol-Independent Multicast (PIM)

PIM maintains the current IP multicast service mode of

PIM can operate in dense mode or sparse mode

– Dense mode protocols flood multicast traffic to all parts of the network and prune the flows where there are no receivers using

a periodic flood-and-prune mechanism

– Sparse mode protocols use an explicit join mechanism where distribution trees are built on demand by explicit tree join

messages sent by routers that have directly connected receivers.

Trang 16

Multicast Tree Creation

PIM Join/Prune Control Messages

 Used to create/remove Distribution Trees

Shortest Path trees

 PIM control messages are sent toward the Source

Shared trees

 PIM control messages are sent toward RP

Trang 17

Multicast routing uses Reverse Path Forwarding (RPF) to

prevent forwarding loops

Trang 18

Reverse Path Forwarding (RPF)

The RPF Calculation

 The multicast source address is checked against the

unicast routing table

 This determines the interface and upstream router in

the direction of the source to which PIM Joins are sent

 This interface becomes the “Incoming” or RPF

interface

– A router forwards a multicast datagram only if received on the RPF interface

Trang 19

Reverse Path Forwarding (RPF)

RPF Calculation

 Based on Source Address

 Best path to source found in

Unicast Route Table

 Determines where to send Joins

 Joins continue towards Source to

build multicast tree

 Multicast data flows down tree

10.1.1.1

E1 E2 Unicast Route Table

Network Interface 10.1.0.0/24 E0

Join Join

E0

Trang 20

Reverse Path Forwarding (RPF)

10.1.1.1

E1 E0

E2

Join Join

RPF Calculation (cont.)

 Repeat for other receivers…

Trang 21

Reverse Path Forwarding (RPF)

RPF Calculation

 What if we have equal-cost paths?

– We can’t use both.

 Tie-Breaker

– Use highest Next-Hop IP address

10.1.1.1

E1 E0

E2 Unicast Route Table

Network Intfc Nxt-Hop 10.1.0.0/24 E0 1.1.1.1 10.1.0.0/24 E1 1.1.2.1

1.1.2.1 1.1.1.1

Join

Trang 22

Multicast Distribution Tree Creation

Shared Tree Example

Trang 23

Self Check

1 Why is Protocol Independent Multicast called

Independent?

2 Describe dense mode operation

3 What does multicast routing use to prevent forwarding

loops?

4 What is the RPF interface?

5 What if the RFP calculation finds 2 equal-cost paths?

Trang 24

PIM Dense Mode

Operation

Trang 25

PIM-DM Flood and Prune

Initial Flooding

Trang 26

PIM-DM Flood and Prune (Cont.)

Trang 27

PIM-DM Flood and Prune (Cont.)

Results After Pruning

•In PIM-DM, all prune messages expire in 3 minutes After that, the multicast traffic is flooded again to all of the routers This periodic flood-and-prune

behavior is normal and must be taken into account when the network is

Trang 28

3 How often do prune messages expire in PIM-DM?

4 What happens when the prune messages expire?

Trang 29

PIM Sparse Mode

Operation

Trang 30

PIM Sparse Mode

 PIM-SM works with any of the underlying unicast

routing protocols

 PIM-SM supports both source and shared trees

 PIM-SM is based on an explicit pull model

 PIM-SM uses an RP

– Senders and receivers “meet each other.”

– Senders are registered with RP by their first-hop router.

– Receivers are joined to the shared tree (rooted at the RP) by their local DR.

Trang 31

PIM-SM Shared Tree Join

Receiver

RP

(*, G) Join Shared Tree

(*, G) State created only along the Shared Tree.

Trang 32

PIM-SM Sender Registration

(S, G) State created only along the Source Tree.

Traffic Flow

Trang 33

PIM-SM Sender Registration

Receiver

RP Source

Shared Tree Source Tree RP sends a Register-Stop

back to the first-hop router

to stop the Register process (S, G) Register-Stop (unicast)

Traffic Flow

(S, G) Register (unicast)

(S, G) traffic begins arriving

at the RP through the Source tree.

Trang 34

PIM-SM Sender Registration

Receiver

RP Source

Shared Tree Source Tree

Trang 35

Last-hop router joins the Source Tree.

Additional (S, G) State is created along new part of the Source Tree Traffic Flow

Trang 36

PIM-SM SPT Switchover

Receiver

RP Source

Source Tree Shared Tree

Traffic Flow

Trang 37

PIM-SM SPT Switchover

Receiver

RP Source

Source Tree Shared Tree

(S, G) Traffic flow is now pruned off of the Shared Tree and is flowing to the Receiver through the Source Tree.

Traffic Flow

Trang 38

PIM-SM SPT Switchover

Receiver

RP Source

Source Tree Shared Tree

(S, G) traffic flow is no longer needed by the RP so it Prunes the flow of (S, G) traffic.

Traffic Flow

(S, G) Prune

Trang 39

PIM-SM SPT Switchover

Receiver

RP Source

Source Tree Shared Tree

(S, G) Traffic flow is now only flowing to the Receiver

through a single branch of the Source Tree.

Traffic Flow

Trang 40

Shortest Path Tree as soon as they detect a new

multicast source.”

PIM-SM Frequently Forgotten Fact

Trang 41

PIM-SM Evaluation

Effective for Sparse or Dense distribution of multicast

receivers

Advantages:

 Traffic only sent down “joined” branches

 Can switch to optimal source-trees for high traffic

sources dynamically

 Unicast routing protocol-independent

 Basis for inter-domain multicast routing

Trang 42

Multiple RPs with Auto RP

PIM Sparse-Dense-Mode

Trang 43

Self Check

1 What types of deployments is PIM-SM appropriate

for?

2 When using PIM-SM, to what device does the

receiver send a Join when wishing to receive multicast traffic?

3 How is a Register message used?

4 Explain the implications of the default value of the

SPT-Threshold in Cisco routers

5 Describe the potential issues with PIM-SM

Trang 44

 IP multicast requires multiple protocols and processes for

proper packet forwarding.

 Source and shared trees may be used to define multicast

packet flows to group members.

 Multicast routing utilizes the distribution trees for proper

packet forwarding.

 PIM is the routing protocol for multicast.

 PIM-DM uses flood and prune

 PIM-SM uses less device and bandwidth resources and is

typically chosen to implement multicast

 PIM sparse-dense mode is the recommended methodology

for maximum efficiency in IP multicast.

Trang 45

Q and A

Trang 46

 Internet Protocol IP Multicast Technology

– http://www.cisco.com/en/US/tech/tk828/tech_brief09186a0080 0a4415.html

 IP Multicast Deployment Fundamentals

– http://www.cisco.com/en/US/tech/tk828/tech_brief09186a0080 0e9952.html

 Cisco IOS Multicast Q&A

– http://www.cisco.com/en/US/tech/tk828/technologies_q_and_a _item09186a00801bb25d.shtml

Ngày đăng: 07/07/2014, 00:20

TỪ KHÓA LIÊN QUAN