1 computer networks ip multicast. 2 recall unicast broadcast multicast sends to a specific group

15
1 Computer Networks IP Multicast

Upload: angela-townsend

Post on 25-Dec-2015

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

1

Computer Networks

IP Multicast

Page 2: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

2

Recall

UnicastBroadcastMulticast

sends to a specific group

Page 3: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

3

Unicast

Page 4: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

4

Multicast

Page 5: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

5

Introduction to IP Multicast

Class D group address (224-239.x.x.x)First bits must be 1110 of first octet

How to join/leave a multicast group?How to map to hardware address?How to route to a IP multicast group?

Page 6: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

6

IP Multicast Addressing

Some reserved addresses224.0.0.0/24 Link local reserved

e.g. 224.0.0.9 - RIPv2 routers

239.0.0.0/8 Private (Administratively Scoped)

IP Multicast to ethernet multicast mappingplace low-order 23 bits of IP address into low-

order 23 bits of special Ethernet address 01:00:5e:00:00:00

problem... IP multicast has 28 significant bits!

Page 7: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

7

Internet Group Multicast Protocol (IGMP)

Standardized in RFC 1112 and 2236Host/Router signalling protocolHosts send IGMP join messagesRouter periodically queriesIGMPv3 in draft

Hosts only listen to specific group sources

Page 8: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

8

Multicast routing

Backwards from unicast routingReverse Path Forwarding (RFP)

Route away from sourceCould follow the shortest (source tree)

pathCould build a shared distribution tree

Rendevous Point (RP)

Dense (Push) and Sparse (Pull) Modes

Page 9: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

9

Distance Vector Multicast Routing Protocol (DVMRP)

Similar to RIPInfinity = 32 hopsFlood and Prune builds distribution treeGrafting adds back a linkWas widely used in early MBONEDoes not scale

Page 10: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

10

Multicast OSPF (MOSPF)

LSAs carry multicast route informationEach router learns entire multicast treeOnly works with OSPF networksDoes not scale wellNot popular

Page 11: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

11

Protocol Independent Multicast Dense Mode (PIM-DM)

Uses any underlying routing protocole.g. RIP, OSPF, IS-IS, BGP, etc.

Very similar to DVMRPFloods and prunes back based on

membershipDoes not scale to large networks

(MBONE)

Page 12: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

12

Protocol Independent Multicast Sparse Mode (PIM-SM)

Supports source and shared treesUses a Rendevous Point (RP)Can use any underlying routing

protocolTraffic only sent down joined branchesCan dynamically switch to optimal

source tree depending on traffic pattern

Page 13: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

13

PIM-SM Illustrated

Page 14: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

14

Internet MBONE

Multicast backbone overlay on the Internet

Originally used DVMRP, now mostly uses PIM-SM

Few commercial organizations using itMany educational and research

institutions using it

Page 15: 1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group

15

Common MBONE Tools

SDRVAT/RATVICWBIP/TVMtrace