Computer Networks with Internet Technology William Stallings

Slides:



Advertisements
Similar presentations
Multicast on the Internet CSE April 2015.
Advertisements

Multicasting CSE April Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001.
Computer Networks with Internet Technology William Stallings
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
1 6/14/ :27 CS575Internetworking & Routers1 Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
EEE449 Computer Networks Internetwork Operation. Internetwork Functions and Services There is a strong need to be able to support a variety of traffic.
William Stallings Data and Computer Communications 7th Edition
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Group Management n Introduction n Internet Group Management Protocol (IGMP) n Multicast Listener Discovery (MLD) protocol.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Data and Computer Communications Ninth Edition by William Stallings Chapter 19 – Internetwork Operation Data and Computer Communications, Ninth Edition.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Lect1..ppt - 03/28/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 16 Exterior Routing Protocols And Multicasting by Zornitza Genova.
Multicasting  A message can be unicast, multicast, or broadcast.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
CS 3830 Day 29 Introduction 1-1. Announcements r Quiz 4 this Friday r Signup to demo prog4 (all group members must be present) r Written homework on chapter.
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.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Border Gateway Protocol
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Chapter 16 Exterior Routing Protocols and Multicasting 1 Chapter 16 Exterior Routing Protocols And Multicasting.
Multicast in Network Level Presented by Apichan Kanjanavapastit, PhD (Telecom) Department of Telecommunication Engineering Faculty of Engineering Mahanakorn.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Multicasting CSE 6590 Winter December 2015.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
1 CMPT 471 Networking II Multicasting © Janice Regan,
William Stallings Data and Computer Communications Chapter 19 Internetwork Protocols.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Multicasting protocols
CMPE 252A: Computer Networks
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Interior Routing Protocols Chapter 11&12: Routing in IP
William Stallings Data and Computer Communications 7th Edition
Chapter 15. Internet Protocol
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Computer Networks with Internet Technology William Stallings Exterior Routing Protocols and Multicasting Computer Networks with Internet Technology William Stallings Chapter 12 Exterior Routing Protocols And Multicasting Chapter 16

Boarder Gateway Protocol (BGP) Allows routers (gateways) in different ASs to exchange routing information Messages sent over TCP See next slide Three functional procedures Neighbor acquisition Neighbor reachability Network reachability

Table 12.1 BGP-4 Messages

Neighbor Acquisition Neighbors attach to same subnetwork If in different ASs routers may wish to exchange information Neighbor acquisitionis when two neighboring routers agree to exchange routing information regularly Needed because one router may not wish to take part One router sends request, the other acknowledges Knowledge of existence of other routers and need to exchange information established at configuration time or by active intervention

Neighbor Reachability Periodic issue of keepalive messages Between all routers that are neighbors

Network Reachability Each router keeps database of subnetworks it can reach and preferred route When change made, router issues update message All BGP routers build up and maintain routing information

Figure 12.1 BGP Message Formats

Neighbor Acquisition Detail Router opens TCP connection with neighbor Sends open message Identifies sender’s AS and gives IP address Includes Hold Time As proposed by sender If recipient prepared to open neighbor relationship Calculate hold time min [own hold time, received hold time] Max time between keepalive/update messages Reply with keepalive

Keepalive Detail Header only Often enough to prevent hold time expiring

Update Detail Information about single route through internet Information to be added to database of any recipient router Network layer reachability information (NLRI) List of network portions of IP addresses of subnets reached by this route Total path attributes length field Path attributes field (next slide) List of previously advertised routes being withdrawn May contain both

Path Attributes Field Origin AS_Path Next_Hop Multi_Exit_disc Interior (e.g. OSPF) or exterior (BGP) protocol AS_Path ASs traversed for this route Next_Hop IP address of boarder router for next hop Multi_Exit_disc Information about routers internal to AS Local_Pref Tell other routers within AS degree of preference Atomic_Aggregate, Aggregator Uses subnet addresses in tree view of network to reduce information needed in NLRI

Withdrawal of Route(s) Route identified by IP address of destination subnetwork(s)

Notification Message Error notification Message header error Includes authentication and syntax errors Open message error Syntax errors and option not recognised Proposed hold time unacceptable Update message error Syntax and validity errors Hold time expired Finite state machine error Cease Close connection in absence of any other error

BGP Routing Information Exchange R1 constructs routing table for AS1 using OSPF R1 issues update message to R5 (in AS2) AS_Path: identity of AS1 Next_Hop: IP address of R1 NLRI: List of all subnets in AS1 Suppose R5 has neighbor relationship with R9 in AS3 R9 forwards information from R1 to R9 in update message AS_Path: list of ids {AS2,AS1} Next_Hop: IP address of R5 NLRI: All subnets in AS1 R9 decides if this is prefered route and forwards to neighbors

Inter-Domain Routing Protocol (IDRP) Exterior routing protocol for IPv6 ISO-OSI standard Path-vector routing Superset of BGP Operates over any internet protocol (not just TCP) Own handshaking for guaranteed delivery Variable length AS identifiers Handles multiple internet protocols and address schemes Aggregates path information using routing domain confederations

Routing Domain Confederations Set of connected AS Appear to outside world as single AS Recursive Effective scaling

Multicasting Addresses that refer to group of hosts on one or more networks Uses Multimedia “broadcast” Teleconferencing Database Distributed computing Real time workgroups

Figure 12.2 Example Configuration

Broadcast and Multiple Unicast Broadcast a copy of packet to each network Requires 13 copies of packet Multiple Unicast Send packet only to networks that have hosts in group 11 packets

True Multicast Determine least cost path to each network that has host in group Gives spanning tree configuration containing networks with group members Transmit single packet along spanning tree Routers replicate packets at branch points of spanning tree 8 packets required

Figure 12.3 Multicast Transmission Example

Table 12.2 Traffic Generated by Various Multicasting Strategies

Requirements for Multicasting (1) Router may have to forward more than one copy of packet Convention needed to identify multicast addresses IPv4 - Class D - start 1110 IPv6 - 8 bit prefix, all 1, 4 bit flags field, 4 bit scope field, 112 bit group identifier Nodes must translate between IP multicast addresses and list of networks containing group members Router must translate between IP multicast address and network multicast address

Requirements for Multicasting (2) Mechanism required for hosts to join and leave multicast group Routers must exchange info Which networks include members of given group Sufficient info to work out shortest path to each network Routing algorithm to work out shortest path Routers must determine routing paths based on source and destination addresses

Figure 12.4 Spanning Tree from Router C to Multicast Group

Internet Group Management Protocol (IGMP) RFC 3376 Host and router exchange of multicast group info Use broadcast LAN to transfer info among multiple hosts and routers

Principle Operations Hosts send messages to routers to subscribe to and unsubscribe from multicast group Group defined by multicast address Routers check which multicast groups of interest to which hosts IGMP currently version 3 IGMPv1 Hosts could join group Routers used timer to unsubscribe members

Operation of IGMPv1 & v2 Receivers have to subscribe to groups Sources do not have to subscribe to groups Any host can send traffic to any multicast group Problems: Spamming of multicast groups Even if application level filters drop unwanted packets, they consume valuable resources Establishment of distribution trees is problematic Location of sources is not known Finding globally unique multicast addresses difficult

IGMP v3 Allows hosts to specify list from which they want to receive traffic Traffic from other hosts blocked at routers Allows hosts to block packets from sources that send unwanted traffic

Figure 12.5a IGMP Message Formats Membership Query

Membership Query Sent by multicast router General query Which groups have members on attached network Group-specific query Does group have members on an attached network Group-and-source specific query Do attached device want packets sent to specified multicast address From any of specified list of sources

Membership Query Fields (1) Type Max Response Time Max time before sending report in units of 1/10 second Checksum Same algorithm as IPv4 Group Address Zero for general query message Multicast group address for group-specific or group-and-source S Flag 1 indicates that receiving routers should suppress normal timer updates done on hearing query

Membership Query Fields (2) QRV (querier's robustness variable) RV value used by sender of query Routers adopt value from most recently received query Unless RV was zero, when default or statically configured value used RV dictates number of retransmissions to assure report not missed QQIC (querier's querier interval code) QI value used by querier Timer for sending multiple queries Routers not current querier adopt most recently received QI Unless QI was zero, when default QI value used Number of Sources Source addresses One 32 bit unicast address for each source

Figure 12.5b IGMP Message Formats Membership Report

Membership Reports Type Checksum Number of Group Records Group Records One 32-bit unicast address per source 

Figure 12.5c IGMP Message Formats Group Record

Group Record Record Type Aux Data Length Number of Sources See later Aux Data Length In 32-bit words Number of Sources Multicast Address Source Addresses One 32-bit unicast address per source Auxiliary Data Currently, no auxiliary data values defined

IGMP Operation - Joining Host using IGMP wants to make itself known as group member to other hosts and routers on LAN IGMPv3 can signal group membership with filtering capabilities with respect to sources EXCLUDE mode – all group members except those listed INCLUDE mode – Only from group members listed To join group, host sends IGMP membership report message Address field multicast address of group Sent in IP datagram with Group Address field of IGMP message and Destination Address encapsulating IP header same Current members of group will receive learn of new member Routers listen to all IP multicast addresses to hear all reports

IGMP Operation – Keeping Lists Valid Routers periodically issue IGMP general query message In datagram with all-hosts multicast address Hosts that wish to remain in groups must read datagrams with this all-hosts address Hosts respond with report message for each group to which it claims membership Router does not need to know every host in a group Needs to know at least one group member still active Each host in group sets timer with random delay Host that hears another claim membership cancels own report If timer expires, host sends report Only one member of each group reports to router

IGMP Operation - Leaving Host leaves group, by sending leave group message to all-routers static multicast address Send membership report message with EXCLUDE option and null list of source addresses Router determine if there are any remaining group members using group-specific query message

Group Membership with IPv6 IGMP defined for IPv4 Uses 32-bit addresses IPv6 internets need functionality IGMP functions incorporated into Internet Control Message Protocol version 6 (ICMPv6) ICMPv6 includes all of functionality of ICMPv4 and IGMP ICMPv6 includes group-membership query and group-membership report message Used in the same fashion as in IGMP

Multicast Extension to OSPF (MOSPF) Enables routing of IP multicast datagrams within single AS Each router uses MOSPF to maintain local group membership information Each router periodically floods this to all routers in area Routers build shortest path spanning tree from a source network to all networks containing members of group (Dijkstra) Takes time, so on demand only

Forwarding Multicast Packets If multicast address not recognised, discard If router attaches to a network containing a member of group, transmit copy to that network Consult spanning tree for this source-destination pair and forward to other routers if required

Equal Cost Multipath Ambiguities Dijkstra’ algorithm will include one of multiple equal cost paths Which depends on order of processing nodes For multicast, all routers must have same spanning tree for given source node MOSPF has tiebreaker rule

Interarea Multicasting Multicast groups amy contain members from more than one area Routers only know about multicast groups with members in its area Subset of area’s border routers forward group membership information and multicast datagrams between areas Interarea multicast forwarders

Inter-AS Multicasting Certain boundary routers act as inter-AS multicast forwarders Run and inter-AS multicast routing protocol as well as MOSPF and OSPF MOSPF makes sure they receive all multicast datagrams from within AS Each such router forwards if required Use reverse path routing to determine source Assume datagram from X enters AS at point advertising shortest route back to X Use this to determine path of datagram through MOSPF AS

Figure 12.6 Illustrations of MOSPF Routing

Multicast Routing Protocol Characteristics Extension to existing protocol MOSPF v OSPF Designed to be efficient for high concentration of group members Appropriate with single AS Not for large internet

Protocol Independent Multicast (PIM) Independent of unicast routing protocols Extract required routing information from any unicast routing protocol Work across multiple AS with different unicast routing protocols

PIM Strategy Flooding is inefficient over large sparse internet Little opportunity for shared spanning trees Focus on providing multiple shortest path unicast routes Two operation modes Dense mode For intra-AS Alternative to MOSPF Sparse mode Inter-AS multicast routing

Spares Mode PIM A spare group: Number of networks/domains with group members present significantly small than number of networks/domains in internet Internet spanned by group not sufficiently resource rich to ignore overhead of current multicast schemes

Group Destination Router Group Source Router Has local group members Router becomes destination router for given group when at least one host joins group Using IGMP or similar Group source router Attaches to network with at least one host transmitting on multicast address via that router

PIM Approach For a group, one router designated rendezvous point (RP) Group destination router sends join message towards RP requesting its members be added to group Use unicast shortest path route to send Reverse path becomes part of distribution tree for this RP to listeners in this group Node sending to group sends towards RP using shortest path unicast route Destination router may replace group-shared tree with shortest path tree to any source By sending a join back to source router along unicast shortest path Selection of RP dynamic Not critical

Figure 12.7 Example of PIM Operation

Required Reading Stallings chapter 12