Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.

Slides:



Advertisements
Similar presentations
Unicast and Multicast Routing:
Advertisements

1  Changes in IPv6 – Expanded addressing capabilities (32 to 128 bits), anycast address – A streamlined 40-byte header – Flow labeling and priority –
Multicast on the Internet CSE April 2015.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 12 Multicasting And Multicast.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
TCP/IP Protocol Suite 1 Chapter 15 Upon completion you will be able to: Multicasting and Multicast Routing Protocols Differentiate between a unicast, multicast,
Routing So how does the network layer do its business?
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers due.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Internet Networking Spring 2002
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 21 Unicast and Multicast Routing: Routing Protocols.
EE689 Lecture 12 Review of last lecture Multicast basics.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Multicasting And Multicast Routing Protocols.
1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Computer Networks 2 Lecture 1 Multicast.
Multicasting  A message can be unicast, multicast, or broadcast.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Computer Networks22-1 Chapter 22. Network Layer: Delivery, Forwarding, and Routing 21.1 Delivery 21.2 Forwarding 21.3 Unicast Routing Protocols 21.4 Multicast.
AD HOC WIRELESS MUTICAST ROUTING. Multicasting in wired networks In wired networks changes in network topology is rare In wired networks changes in network.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
1 Chapter 16b Multicasting. Chapter 16b Multicasting 2 Multicasting Applications Multimedia Multimedia –television, presentations, etc. Teleconferencing.
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer Protocols: Unicast and Multicast Routing Protocols 21.1 Unicast Routing 21.2 Unicast Routing.
Chapter 15 Multicasting and Multicast Routing
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
Multicast 1 Spencer Tsai Mobile Communication & Broadband Network Lab CSIE Fu-Jen Catholic University Introduction to Multicast.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
TCP/IP Protocol Suite 1 Chapter 10 Upon completion you will be able to: Internet Group Management Protocol Know the purpose of IGMP Know the types of IGMP.
IP multicast Advisor: Prof. Wanjiun Liao Instructor: De-Nian Yang
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
©The McGraw-Hill Companies, Inc., 2000© Adapted for use at JMU by Mohamed Aboutabl, 2003Mohamed Aboutabl1 1 Chapter 14 Multicasting And Multicast Routing.
Information and Communication engineering (ICE) MUT ITEC4610 Network Switching and Routing ดร. ประวิทย์ ชุมชู หัวหน้าสาขาวิชาวิศวกรรมสารสนเทศและการสื่อสาร.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 10 Internet Group Management Protocol (IGMP)
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Internet routing protocols m RIP m OSPF m IGRP m BGP r Router architectures r IPv6 Today: r IPv6.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Chapter 21 Multicast Routing
Multicast Communications
Network Layer: Address Mapping, Error Reporting, and Multicasting
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent Multicast.
CS4500CS4500 Dr. Clincy1 Continuing Chapter 11 Unicast Routing Protocols (RIP, OSPF, BGP) (How the routers’ tables are filled in) Lecture 6.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
Communication Networks Recitation 11. Multicast & QoS Routing.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
TCP/IP Protocol Suite 1 Multicasting and Multicast Routing Protocols Differentiate between a unicast and a multicast message Understand multicast link.
22.1 Network Layer Delivery, Forwarding, and Routing.
Multicasting protocols
Computer Networking Multicast.
Lecture 15 and 16 Ch 12: Multicast Routing Section 12
(How the routers’ tables are filled in)
Delivery, Forwarding, and Routing
Agenda Answer any questions regarding OSPF or BGP
UNIT III ROUTING.
Multicasting and Multicast Routing Protocols
Chapter 10 IGMP Prof. Choong Seon HONG.
IP Multicast COSC /5/2019.
Chapter 12 Multicasting And Multicast Routing Protocols
Optional Read Slides: Network Multicast
Presentation transcript:

Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol

Computer Networks 22-2 Multicast Protocols

Computer Networks 22-3 Multicast Link State Routing: MOSPF Multicast link state routing uses the source-based tree approach A node advertises every group which has any loyal member on the link. The meaning of state is "what groups are active on this link." When a router receives all LSPs it creat n (the number of group) topologies and n shortest path trees made using Dijkstra's algorithm each router has a routing table that represents as many shortest path trees as there are groups The only problem with this protocol is the time and space needed to create and save the many shortest path trees. solution is to create the trees only when needed. – When a router receives a packet with a multicast destination address, it runs the Dijkstra algorithm to calculate the shortest path tree for that group. – The result can be cached in case there are additional packets for that destination.

Multicast Open Shortest Path First (MOSPF) MOSPF is an extension of the OSPF protocol that uses multicast link state routing to create source-based trees MOSPF requires a new link state update packet to associate the unicast address of a host with the group address or addresses the host is sponsoring (This packet is called the group-membership LSA). We make a tree that contains all the hosts belonging to a group, but we use the unicast address of the host in the calculation. MOSPF is a data-driven protocol; the first time an MOSPF router see a datagram with a given source and group address, the router constructs the Dijkstra shortest path tree

Computer Networks22-5 Multicast Distance Vector: DVMRP Multicast distance vector routing uses the source-based trees, but the router never actually makes a routing table Multicast routing does not allow a router to send its routing table to its neighbors. The idea is to create a table from scratch by using the information from the unicast distance vector tables Process based on four decision-making strategies. Each strategy is built on its predecessor – Flooding – Reverse Path Forwarding (RPF) – Reverse Path Broadcasting (RPB) – Reverse Path Multicasting (RPM)

Computer Networks 22-6 DVMRP: Strategies Flooding broadcasts packets, but creates loops in the systems Reverse path forwarding: RPF eliminates the loop in the flooding process. In RPF, a router forwards only the copy that has traveled the shortest path from the source to the router.

Problem with RPF RPF does not guarantee that each network receives only one copy a network may receive two or more copies. The reason is that RPF is not based on the destination address (a group address); forwarding is based on the source address.

Computer Networks22-8 DVMRP: Strategies (cont) Reverse path broadcasting: RPB creates a shortest path broadcast tree from the source to each destination. It guarantees that each destination receives one and only one copy of the packet – To eliminate duplication, we must define only one parent router for each network. – We must have this restriction: A network can receive a multicast packet from a particular source only through a designated parent router. – the router sends the packet only out of those interfaces for which it is the designated parent. – The designated parent router can be the router with the shortest path to the source. If more than one router qualifies, the router with the smallest IP address is selected.

Computer Networks22-9 DVMRP: Strategies Reverse path multicasting: RPM adds pruning and grafting to RPB to create a multicast shortest path tree that supports dynamic membership changes

Computer Networks Distance Vector Multicast Routing Protocol (DVMRP) Core-Based Tree (CBT) CBT is a group-shared protocol that uses a core as the root of the tree AS is divided into regions, and core (center router or rendezvous router) is chosen for each region Each router sends a unicast join message to rendezvous router When the rendezvous router has received all join messages from every member of the group, the tree is formed there is no tree at the beginning; the joining (grafting) gradually makes the tree.

Computer Networks Sending Multicast Packets The source sends the multicast (belonging to the group or not) packet (encapsulated in a unicast packet) to the core router. The core router decapsulates the packet and forwards it to all interested hosts. Each router that receives the multicast packet, in turn, forwards it to all interested ports

Computer Networks Protocol Independent Multicast (PIM) Protocol Independent Multicast (PIM) is the name given to two independent multicast routing protocols: – Protocol Independent Multicast, Dense Mode (PIM-DM) – Protocol Independent Multicast, Sparse Mode (PIM-SM). Both protocols are unicastprotocol-dependent, but the similarity ends here. PIM-DM PIM-DM is used in a dense multicast environment, such as a LAN PIM-DM is a source-based tree routing protocol that uses RPF and pruning and grafting strategies for multicasting. However, it is independent of the underlying unicast protocol unicast protocol (can be a distance vector protocol (RIP) or link state protocol (OSPF)). PIM-SM PIM-SM is used in a sparse multicast environment such as a WAN PIM-SM is a group-shared routing protocol that has a rendezvous point as the source of the tree PIM-SM is similar to CBT but uses a simpler procedure. One of the characteristics of PIM-SM is that it can switch from a group-shared tree strategy to a source-based tree strategy when necessary.

Computer Networks MBONE To enable multicasting, we make a multicast backbone (MBONE) out of isolated routers, using of the concept of tunneling small fraction of Internet routers are multicast routers – a multicast router may not find another multicast router in the neighborhood to forward the multicast packet. solution to this problem is tunneling : The multicast routers may not be connected directly, but they are connected logically. To enable multicasting, we make a multicast backbone (MBONE) out of these isolated routers by using the concept of tunneling.

Computer Networks Logical Tunneling A logical tunnel is established by encapsulating the multicast packet inside a unicast packet The multicast packet becomes the payload (data) of the unicast packet So far the only protocol supporting MBONE and tunneling is DVMRP

Computer Networks21-15 IGMP Internet Group Management Protocol (IGMP) is one of the necessary, but not sufficient, protocol for multicasting. IGMP is a companion to the IP protocol IGMP is a group management protocol. It helps a multicast router create and update a list of loyal members related to each router interface

Computer Networks21-16 IGMP Message Format Type. This 8-bit field defines the type of message Maximum Response Time. This 8-bit field defines the amount of time in which a query must be answered. The value is in tenths of a second. Checksum. This is a 16-bit field carrying the checksum. The checksum is calculated over the 8-byte message. Group address. The value of this field is 0 for a general query message. The value defines the group id (multicast address of the group) in the special query, the membership report, and the leave report messages.

Computer Networks21-17 IGMP Operation A multicast router connected to a network has a list of multicast addresses of the groups with at least one loyal member in that network. For each group, there is one router that has the duty of distributing the multicast packets destined for that group. This means that if there are three multicast routers connected to a network, their lists of group ids are mutually exclusive.

IGMP Operation Joining a group: – When a process wants to join a new group, it sends its request to the host. – The host adds the name of the process and the name of the requested group to its list. – If this is the first entry for this particular group, the host sends a membership report message. – If this is not the first entry, there is no need to send the membership report – In IGMP, a membership report is sent twice, one after the other if the first one is lost or damaged, the second one replaces it. Leaving a group: – When a host sees that no process is interested in a specific group, it sends a leave report. – when a router sees that none of the networks connected to its interfaces is interested in a specific group, it sends a leave report. – when a multicast router receives a leave report, it check if there are some station still interest in this group it sends a special query message and inserts the group id, or multicast address, related to the group and wait for specified time for any host or router to respond. If during this time, no interest (membership report) is received, the router assumes that there are no loyal members in the network and purges the group from its list. Monitoring membership – The general query message does not define a particular group – The router periodically sends a general query message. The group address field is set to – The router expects an answer for each group in its group list in maximum response time of 10 s

Computer Networks21-19 IGMP: Delayed Response To prevent unnecessary traffic, IGMP uses a delayed response strategy When a host or router receives a query message, it does not respond immediately; it delays the response. Each host or router uses a random number to create a timer, which expires between 1 and 10 s. A timer is set for each group in the list. Each host or router waits until its timer has expired before sending a membership report message During this waiting time, if the timer of another host or router, for the same group, expires earlier, that host or router sends a membership report and the waiting host will not sends the report to prevent duplicate report for this group. Example: – Time 12: The timer for in host A expires, and a membership report is sent, which is received by the router and every host including host B which cancels its timer for – Time 30: The timer for in host A expires, and a membership report is sent which is received by the router and every host including host C which cancels its timer for – Time 50: The timer for in host B expires, and a membership report is sent, which is received by the router and every host. – Time 70: The timer for in host C expires, and a membership report is sent, which is received by the router and every host including host A which cancels its timer for

IGMP: Query Router Query messages may create a lot of responses. To prevent unnecessary traffic, IGMP designates one router as the query router for each network. Only this designated router sends the query message The other routers are passive (they receive responses and update their lists).

Computer Networks21-21 IGMP: Encapsulation at Network Layer The IGMP message is encapsulated in an IP datagram, which is itself encapsulated in a frame. The IP packet that carries an IGMP packet has a value of 1 in its TTL field

Part not included from chapter 22 Address Aggregation Longest Mask Matching Hierarchical Routing Geographical Routing