multicasting and multicast routing protocols · 2018. 10. 20. · multicast routing multicast...

39
Multicasting and Multicast Routing Protocols Chapter 12

Upload: others

Post on 13-Apr-2021

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicasting and Multicast Routing Protocols

Chapter 12

Page 2: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Unicasting

R2

R1

N1 N2 N3 N4

1

1

2

2

3

3

4

N5 N6

R3 R4

Recipientis here

Source

Ethernet switch

Point-to-point WAN

Unicast router

Legend

2

Page 3: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicasting

R1

R2 R3 R4

Nomember

Nomember

Nomember

At leastsone member

At leastsone member

At leastsone member

Source

1

1 1

2

22

3

33

4

Ethernet switch

Point-to-point WAN

Multicast router

Legend

3

Page 4: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicasting versus Multiple Unicasting

D4D1 D2 D3

b. Multiple unicasting

S1

DiGi

Multicast router

Unicast destinationGroup member

Unicast router

Legend

S1

G1 G1 G1G1

a. Multicasting

4

Page 5: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Applications

Information Dissemination

Teleconferencing

Distance Learning

5

Page 6: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Addresses

6

Page 7: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Addresses

Multicast addresses for protocol control traffic

7

Page 8: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Delivery of Multicast Packets at Data Link Layer

Ethernet multicast address range:01:00:5E:00:00:00 to 01:00:5E:7F:FF:FF

8

Page 9: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Tunneling

When network does not support multicast, multicast packet encapsulated in unicast packet and sent through the network (tunneling)

9

Page 10: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Internet Group Management Protocol (IGMP)

Multicast routers need to collect information about members and share it with each other

Information collected locally by multicast router connected to network (IGMP protocol)

Collected information globally propagated to other routers (multicast routing protocols)

10

Page 11: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Internet Group Management Protocol (IGMP)

IGMP is group management protocol Helps multicast router create and update list of

members related to each router interface Provides source-specific multicast

Recipient can choose to receive multicast packets coming from list of predefined sources

11

Page 12: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP Messages

12

Page 13: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Membership Query Message

Sent by router to find active group members in network

Max Response Code: defines maximum time before sending report in response to query

13

Page 14: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Three Forms of Query Messages

Router probes each neighbor to report if it is interested in any multicast group

Router probes each neighbor to report if it is still interested in specific multicast group

Router probes each neighbor to report if it is still interested in receiving packets from specific multicast group, coming from any of N sources

14

Page 15: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Membership Report Message

15

Page 16: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Record Type

Each host has record for each multicast group Group record has one of two modes:

Include: List source addresses accepts packets from Exclude: List source addresses does not accept from

Report message has six record types

16

Page 17: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP at Host - Socket State

Each process (associated with socket) on host has record for each multicast group

17

Page 18: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP at Host - Interface State

Interface connecting host to network has record for each multicast group

Combines socket records with same multicast group

18

Page 19: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP at Host - Interface State

19

226.14.5.2 :

228.24.21.4 :

Page 20: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP at Router - Router States

Router maintains state information for each multicast group associated with each network interface

Forwarding (or not forwarding) received packet based on router Interface state

20

Page 21: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

IGMP Message Encapsulation

IGMP messages encapsulated in IP datagrams Destination IP address depends on message

type

21

Page 22: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Routing

Multicast routers need to collect information about members and share it with each other

information collected by IGMP is disseminated to other routers using multicast routing protocols

In multicast routing, each router constructs shortest path tree for each group

22

Page 23: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Unicast Routing

23

Each router has table defines shortest path tree to destinations

Page 24: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Routing using Source-Based Tree

24

Each router has one shortest path tree for each group

Page 25: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Routing using Group-Shared Tree

25

Only core router has shortest path tree for each group

Page 26: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Routing Protocols

26

Page 27: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Link State Routing

Uses source-based tree approach Extension of unicast link state routing Node advertises group with members on the link Router creates n shortest path trees (for n groups)

using Dijkstra’s algorithm

27

Page 28: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Open Shortest Path First (MOSPF) Protocol

Extension of OSPF Protocol Uses multicast link state routing to create source-

based trees Uses new link state update packet to associate

source with group (group-membership LSA) Router calculates shortest path trees on demand

28

Page 29: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Distance Vector Routing

Uses source-based tree approach Uses four strategies, each built on its predecessor

Flooding Reverse Path Forwarding (RPF) Reverse Path Broadcasting (RPB) Reverse Path Multicasting (RPM)

29

Page 30: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

RPF

30

Flooding broadcasts packets, but creates loops RPF eliminates loop in flooding

Page 31: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Problem with RPF

31

RPF dose not guarantee each network receives only one copy of packet

Page 32: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

RPF versus RPB

32

RPB guarantees each destination receives only one copy of packet

Page 33: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

RPF, RPB, and RPM

33

RPM adds pruning and grafting to RPB to create multicast shortest path tree supports dynamic membership changes

Page 34: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Distance Vector Multicast Routing Protocol (DVMRP)

Source-based routing protocol Uses multicast distance vector routing Based on RIP

34

Page 35: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Core-Based Tree (CBT) Protocol

35

Group-shared routing protocol

Page 36: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

CBT - Sending Multicast Packets

36

Page 37: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Protocol Independent Multicast (PIM)

PIM Dense Mode (PIM-DM) Used in dense multicast environment Source-based routing protocol Uses RPF and pruning/grafting Operates like DVMRP

PIM Sparse Mode (PIM-SM) Used in sparse multicast environment Group-shared routing protocol Operates like CBT

37

Page 38: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

Multicast Backbone (MBONE)

38

Uses logical tunneling for multicasting between noncontiguous multicast routers

Page 39: Multicasting and Multicast Routing Protocols · 2018. 10. 20. · Multicast Routing Multicast routers need to collect information about members and share it with each other information

MBONE

39