SlideShare a Scribd company logo
1 of 44
Chapter 16 Exterior Routing Protocols and Multicasting
1
ChapterChapter 1616
Exterior Routing Protocols
And Multicasting
Chapter 16 Exterior Routing Protocols and Multicasting
2
Problems with Distance-VectorProblems with Distance-Vector
and Link-State Routingand Link-State Routing
Neither distance-vector (RIP) nor link state
(OSPF) protocols effective for exterior
routing
Distance vector and link state protocols
assume all routers share common metric
Priorities and restrictions may differ
between ASs
Flooding of link state information may
become unmanageable
Chapter 16 Exterior Routing Protocols and Multicasting
3
Path Vector RoutingPath Vector Routing
 Dispense with routing metrics
 Provide information about:
– Which networks can be reached by given router
– Which ASs must be crossed to get there
 No distance or cost element
 Routing information includes all Ass visited to
reach destination
– Allows policy routing
Chapter 16 Exterior Routing Protocols and Multicasting
4
Boarder Gateway ProtocolBoarder Gateway Protocol
(BGP)(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
Chapter 16 Exterior Routing Protocols and Multicasting
5
BGP v4 MessagesBGP v4 Messages
 Open
– Start neighbor relationship with another router
 Update
– Transmit information about single route
– List multiple routes to be withdrawn
 Keepalive
– Acknowledge open message
– Periodically confirm neighbor relationship
 Notification
– Send when error condition detected
Chapter 16 Exterior Routing Protocols and Multicasting
6
Neighbor AcquisitionNeighbor 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
Chapter 16 Exterior Routing Protocols and Multicasting
7
Neighbor ReachabilityNeighbor Reachability
Periodic issue of keepalive messages
Between all routers that are neighbors
Chapter 16 Exterior Routing Protocols and Multicasting
8
Network ReachabilityNetwork 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
Chapter 16 Exterior Routing Protocols and Multicasting
9
BGP MessageBGP Message
FormatsFormats
Marker:
– Reserved for
authentication
Length:
– In octets
Type:
– Open, Update,
Keepalive,
Notification
Chapter 16 Exterior Routing Protocols and Multicasting
10
Neighbor Acquisition DetailNeighbor 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
Chapter 16 Exterior Routing Protocols and Multicasting
11
Keepalive DetailKeepalive Detail
Header only
Often enough to prevent hold time
expiring
Chapter 16 Exterior Routing Protocols and Multicasting
12
Update DetailUpdate 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
Chapter 16 Exterior Routing Protocols and Multicasting
13
Path Attributes FieldPath Attributes Field
 Origin
– 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
Chapter 16 Exterior Routing Protocols and Multicasting
14
Withdrawal of Route(s)Withdrawal of Route(s)
Route identified by IP address of
destination subnetwork(s)
Chapter 16 Exterior Routing Protocols and Multicasting
15
Notification MessageNotification 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
Chapter 16 Exterior Routing Protocols and Multicasting
16
Diagram for BGP RoutingDiagram for BGP Routing
Information ExchangeInformation Exchange
Chapter 16 Exterior Routing Protocols and Multicasting
17
BGP Routing InformationBGP Routing Information
ExchangeExchange
 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
Chapter 16 Exterior Routing Protocols and Multicasting
18
Inter-Domain Routing ProtocolInter-Domain Routing Protocol
(IDRP)(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
Chapter 16 Exterior Routing Protocols and Multicasting
19
Routing Domain ConfederationsRouting Domain Confederations
Set of connected AS
Appear to outside world as single AS
– Recursive
Effective scaling
Chapter 16 Exterior Routing Protocols and Multicasting
20
MulticastingMulticasting
Sending message to multicast address
– Multicast address refers to a group of hosts
Multimedia
Teleconferencing
Databases
Distributed computation
Real-time workgroup
Chapter 16 Exterior Routing Protocols and Multicasting
21
Multicasting within LANMulticasting within LAN
MAC level multicast addresses
– IEEE 802 uses highest order bit 1
All stations that recognise the multicast
address accept the packet
Works because of broadcast nature of
LAN
Packet only sent once
Much harder on internet
Chapter 16 Exterior Routing Protocols and Multicasting
22
ExampleExample
ConfigurationConfiguration
for Multicastfor Multicast
InternetInternet
Chapter 16 Exterior Routing Protocols and Multicasting
23
BroadcastBroadcast
 Assume location of recipients not know
 Send packet to every network
 Packet addressed to N3 traverses N1, link L3, N3
 Router B translates IP multicast address to MAC
multicast address
 Repeat for each network
 Generates lots of packets
– In example, 13
Chapter 16 Exterior Routing Protocols and Multicasting
24
Multiple UnicastMultiple Unicast
Location of each member of multicast
group known to source
Table maps multicast address to list of
networks
Only need to send to networks containing
members of multicast group
Reduced traffic (a bit)
– In example, 11
Chapter 16 Exterior Routing Protocols and Multicasting
25
True MulticastTrue Multicast
 Least cost path from source to each network
containing member of group is determined
– Gives spanning tree configuration
 For networks containing group members only
 Source transmits packet along spanning tree
 Packet replicated by routers at branch points of
spanning tree
 Reduced traffic
– In example, 8
Chapter 16 Exterior Routing Protocols and Multicasting
26
Multicast TransmissionMulticast Transmission
ExampleExample
Chapter 16 Exterior Routing Protocols and Multicasting
27
Requirements for MulticastingRequirements for Multicasting
(1)(1)
 Router must forward two or more copies of incoming
packet
 Addressing
– IPv4 uses class D
 Start 1110 plus 28 bit group id
– IPv6 uses 8 bit prefix of all 1s, 4 bit flags field, 4 bit scope field
112 bit group id
 Node must translate between multicast address and list of
networks containing members of group
 Router must translate between IP multicast address and
subnet multicast address to deliver to destination network
Chapter 16 Exterior Routing Protocols and Multicasting
28
Requirements for MulticastingRequirements for Multicasting
(2)(2)
 Multicast addresses may be permanent or dynamic
 Individual hosts may join or leave dynamically
– Need mechanism to inform routers
 Routers exchange information on which subnets contain
members of groups
 Routers exchange information to calculate shortest path
to each network
– Need routing protocol and algorithm
 Routes determined based on source and destination
addresses
– Avoids unnecessary duplication of packets
Chapter 16 Exterior Routing Protocols and Multicasting
29
Internet Group ManagementInternet Group Management
Protocol (IGMP)Protocol (IGMP)
Type:Membership query (general or group
specific), membership report, leave group,
max. response time
Checksum: uses IPv4 algorithm
Group address: zero for request, valid IP
multicast for report or leave
Chapter 16 Exterior Routing Protocols and Multicasting
30
IGMP OperationIGMP Operation
 Host uses IGMP to make itself know as member of group
to other hosts and routers
 To join, send IGMP membership report message
– Send to multicast destination of group being joined
 Routers periodically issue IGMP query
– To all-hosts multicast address
– Hosts respond with report message for each group to which it
belongs
 Only one host in group needs to respond to keep group alive
 Host keeps timer and reponds if no other reply heard in time
 Host sends leave group message
– Group specific query from router determins if any members
remain
Chapter 16 Exterior Routing Protocols and Multicasting
31
Group Membership with IPv6Group Membership with IPv6
Function incorporated in ICMPv6
Includes all ICMPv4 plus IGMP
– Includes group membership query and report
– Addition of new group membership
termination message
Chapter 16 Exterior Routing Protocols and Multicasting
32
Multicast Extension to OSPFMulticast Extension to OSPF
(MOSPF)(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
Chapter 16 Exterior Routing Protocols and Multicasting
33
Forwarding Multicast PacketsForwarding 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
Chapter 16 Exterior Routing Protocols and Multicasting
34
Equal Cost MultipathEqual Cost Multipath
AmbiguitiesAmbiguities
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
Chapter 16 Exterior Routing Protocols and Multicasting
35
Interarea MulticastingInterarea 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
Chapter 16 Exterior Routing Protocols and Multicasting
36
Inter-AS MulticastingInter-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
Chapter 16 Exterior Routing Protocols and Multicasting
37
MOSPF Routing IllustrationMOSPF Routing Illustration
Chapter 16 Exterior Routing Protocols and Multicasting
38
Multicast Routing ProtocolMulticast Routing Protocol
CharacteristicsCharacteristics
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
Chapter 16 Exterior Routing Protocols and Multicasting
39
Protocol Independent MulticastProtocol Independent Multicast
(PIM)(PIM)
Independent of unicast routing protocols
Extract required routing information from
any unicast routing protocol
Work across multiple AS with different
unicast routing protocols
Chapter 16 Exterior Routing Protocols and Multicasting
40
PIM StrategyPIM 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
Chapter 16 Exterior Routing Protocols and Multicasting
41
Spares Mode PIMSpares 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
Chapter 16 Exterior Routing Protocols and Multicasting
42
Group Destination RouterGroup Destination Router
Group Source RouterGroup Source Router
Group Destination 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
Chapter 16 Exterior Routing Protocols and Multicasting
43
PIM ApproachPIM 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
Chapter 16 Exterior Routing Protocols and Multicasting
44
Example of PIM OperationExample of PIM Operation

More Related Content

What's hot (20)

HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
ICMP
ICMPICMP
ICMP
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
IPv4 and IPv6
IPv4 and IPv6IPv4 and IPv6
IPv4 and IPv6
 
Presentation on arp protocol
Presentation on arp protocolPresentation on arp protocol
Presentation on arp protocol
 
Routing Protocols in WSN
Routing Protocols in WSNRouting Protocols in WSN
Routing Protocols in WSN
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
Internet Key Exchange Protocol
Internet Key Exchange ProtocolInternet Key Exchange Protocol
Internet Key Exchange Protocol
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Data security in cloud computing
Data security in cloud computingData security in cloud computing
Data security in cloud computing
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manual
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
IoT Cloud Overview
IoT Cloud OverviewIoT Cloud Overview
IoT Cloud Overview
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Ip address
Ip addressIp address
Ip address
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Tcp
TcpTcp
Tcp
 
ISP AND ITS ARCHITECTURE.
ISP AND ITS ARCHITECTURE.ISP AND ITS ARCHITECTURE.
ISP AND ITS ARCHITECTURE.
 

Similar to Exterior Routing Protocols And Multi casting Chapter 16

Basic networking course
Basic networking courseBasic networking course
Basic networking courseLuxoftTraining
 
IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdfniran10
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksReliance Comm
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Sasank Chaitanya
 
Pathlet routing CS513
Pathlet routing CS513Pathlet routing CS513
Pathlet routing CS513Gauri Pulekar
 
Gohil-Network layer & Address Resolution Protocol.pptx
Gohil-Network layer & Address Resolution Protocol.pptxGohil-Network layer & Address Resolution Protocol.pptx
Gohil-Network layer & Address Resolution Protocol.pptxJuvil2
 
Pathlet routing_Demo2
Pathlet routing_Demo2Pathlet routing_Demo2
Pathlet routing_Demo2asrivas2
 
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2Krishna Nanda
 
jpl-multicast.ppt
jpl-multicast.pptjpl-multicast.ppt
jpl-multicast.pptRicckySingh
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptxRobinRohit2
 

Similar to Exterior Routing Protocols And Multi casting Chapter 16 (20)

Mod5
Mod5Mod5
Mod5
 
6.Routing
6.Routing6.Routing
6.Routing
 
Basic networking course
Basic networking courseBasic networking course
Basic networking course
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
 
IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdf
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networks
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks
 
Pathlet routing CS513
Pathlet routing CS513Pathlet routing CS513
Pathlet routing CS513
 
Gohil-Network layer & Address Resolution Protocol.pptx
Gohil-Network layer & Address Resolution Protocol.pptxGohil-Network layer & Address Resolution Protocol.pptx
Gohil-Network layer & Address Resolution Protocol.pptx
 
Pathlet routing_Demo2
Pathlet routing_Demo2Pathlet routing_Demo2
Pathlet routing_Demo2
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
 
Lecture-07 .pdf
Lecture-07 .pdfLecture-07 .pdf
Lecture-07 .pdf
 
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2
COMPUTER COMMUNICATION NETWORKS-R-Routing protocols 2
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Ospf
OspfOspf
Ospf
 
CCNP Route
CCNP Route CCNP Route
CCNP Route
 
jpl-multicast.ppt
jpl-multicast.pptjpl-multicast.ppt
jpl-multicast.ppt
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
 

More from daniel ayalew

Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13daniel ayalew
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18daniel ayalew
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17daniel ayalew
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15daniel ayalew
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14daniel ayalew
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12daniel ayalew
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11daniel ayalew
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10daniel ayalew
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06daniel ayalew
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05daniel ayalew
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04daniel ayalew
 
TCP and IP Chapter 03
TCP and IP Chapter 03TCP and IP Chapter 03
TCP and IP Chapter 03daniel ayalew
 
protocol and the TCP/IP suite Chapter 02
 protocol and the TCP/IP suite Chapter 02 protocol and the TCP/IP suite Chapter 02
protocol and the TCP/IP suite Chapter 02daniel ayalew
 

More from daniel ayalew (13)

Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04
 
TCP and IP Chapter 03
TCP and IP Chapter 03TCP and IP Chapter 03
TCP and IP Chapter 03
 
protocol and the TCP/IP suite Chapter 02
 protocol and the TCP/IP suite Chapter 02 protocol and the TCP/IP suite Chapter 02
protocol and the TCP/IP suite Chapter 02
 

Recently uploaded

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 

Recently uploaded (20)

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

Exterior Routing Protocols And Multi casting Chapter 16

  • 1. Chapter 16 Exterior Routing Protocols and Multicasting 1 ChapterChapter 1616 Exterior Routing Protocols And Multicasting
  • 2. Chapter 16 Exterior Routing Protocols and Multicasting 2 Problems with Distance-VectorProblems with Distance-Vector and Link-State Routingand Link-State Routing Neither distance-vector (RIP) nor link state (OSPF) protocols effective for exterior routing Distance vector and link state protocols assume all routers share common metric Priorities and restrictions may differ between ASs Flooding of link state information may become unmanageable
  • 3. Chapter 16 Exterior Routing Protocols and Multicasting 3 Path Vector RoutingPath Vector Routing  Dispense with routing metrics  Provide information about: – Which networks can be reached by given router – Which ASs must be crossed to get there  No distance or cost element  Routing information includes all Ass visited to reach destination – Allows policy routing
  • 4. Chapter 16 Exterior Routing Protocols and Multicasting 4 Boarder Gateway ProtocolBoarder Gateway Protocol (BGP)(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
  • 5. Chapter 16 Exterior Routing Protocols and Multicasting 5 BGP v4 MessagesBGP v4 Messages  Open – Start neighbor relationship with another router  Update – Transmit information about single route – List multiple routes to be withdrawn  Keepalive – Acknowledge open message – Periodically confirm neighbor relationship  Notification – Send when error condition detected
  • 6. Chapter 16 Exterior Routing Protocols and Multicasting 6 Neighbor AcquisitionNeighbor 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
  • 7. Chapter 16 Exterior Routing Protocols and Multicasting 7 Neighbor ReachabilityNeighbor Reachability Periodic issue of keepalive messages Between all routers that are neighbors
  • 8. Chapter 16 Exterior Routing Protocols and Multicasting 8 Network ReachabilityNetwork 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
  • 9. Chapter 16 Exterior Routing Protocols and Multicasting 9 BGP MessageBGP Message FormatsFormats Marker: – Reserved for authentication Length: – In octets Type: – Open, Update, Keepalive, Notification
  • 10. Chapter 16 Exterior Routing Protocols and Multicasting 10 Neighbor Acquisition DetailNeighbor 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
  • 11. Chapter 16 Exterior Routing Protocols and Multicasting 11 Keepalive DetailKeepalive Detail Header only Often enough to prevent hold time expiring
  • 12. Chapter 16 Exterior Routing Protocols and Multicasting 12 Update DetailUpdate 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
  • 13. Chapter 16 Exterior Routing Protocols and Multicasting 13 Path Attributes FieldPath Attributes Field  Origin – 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
  • 14. Chapter 16 Exterior Routing Protocols and Multicasting 14 Withdrawal of Route(s)Withdrawal of Route(s) Route identified by IP address of destination subnetwork(s)
  • 15. Chapter 16 Exterior Routing Protocols and Multicasting 15 Notification MessageNotification 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
  • 16. Chapter 16 Exterior Routing Protocols and Multicasting 16 Diagram for BGP RoutingDiagram for BGP Routing Information ExchangeInformation Exchange
  • 17. Chapter 16 Exterior Routing Protocols and Multicasting 17 BGP Routing InformationBGP Routing Information ExchangeExchange  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
  • 18. Chapter 16 Exterior Routing Protocols and Multicasting 18 Inter-Domain Routing ProtocolInter-Domain Routing Protocol (IDRP)(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
  • 19. Chapter 16 Exterior Routing Protocols and Multicasting 19 Routing Domain ConfederationsRouting Domain Confederations Set of connected AS Appear to outside world as single AS – Recursive Effective scaling
  • 20. Chapter 16 Exterior Routing Protocols and Multicasting 20 MulticastingMulticasting Sending message to multicast address – Multicast address refers to a group of hosts Multimedia Teleconferencing Databases Distributed computation Real-time workgroup
  • 21. Chapter 16 Exterior Routing Protocols and Multicasting 21 Multicasting within LANMulticasting within LAN MAC level multicast addresses – IEEE 802 uses highest order bit 1 All stations that recognise the multicast address accept the packet Works because of broadcast nature of LAN Packet only sent once Much harder on internet
  • 22. Chapter 16 Exterior Routing Protocols and Multicasting 22 ExampleExample ConfigurationConfiguration for Multicastfor Multicast InternetInternet
  • 23. Chapter 16 Exterior Routing Protocols and Multicasting 23 BroadcastBroadcast  Assume location of recipients not know  Send packet to every network  Packet addressed to N3 traverses N1, link L3, N3  Router B translates IP multicast address to MAC multicast address  Repeat for each network  Generates lots of packets – In example, 13
  • 24. Chapter 16 Exterior Routing Protocols and Multicasting 24 Multiple UnicastMultiple Unicast Location of each member of multicast group known to source Table maps multicast address to list of networks Only need to send to networks containing members of multicast group Reduced traffic (a bit) – In example, 11
  • 25. Chapter 16 Exterior Routing Protocols and Multicasting 25 True MulticastTrue Multicast  Least cost path from source to each network containing member of group is determined – Gives spanning tree configuration  For networks containing group members only  Source transmits packet along spanning tree  Packet replicated by routers at branch points of spanning tree  Reduced traffic – In example, 8
  • 26. Chapter 16 Exterior Routing Protocols and Multicasting 26 Multicast TransmissionMulticast Transmission ExampleExample
  • 27. Chapter 16 Exterior Routing Protocols and Multicasting 27 Requirements for MulticastingRequirements for Multicasting (1)(1)  Router must forward two or more copies of incoming packet  Addressing – IPv4 uses class D  Start 1110 plus 28 bit group id – IPv6 uses 8 bit prefix of all 1s, 4 bit flags field, 4 bit scope field 112 bit group id  Node must translate between multicast address and list of networks containing members of group  Router must translate between IP multicast address and subnet multicast address to deliver to destination network
  • 28. Chapter 16 Exterior Routing Protocols and Multicasting 28 Requirements for MulticastingRequirements for Multicasting (2)(2)  Multicast addresses may be permanent or dynamic  Individual hosts may join or leave dynamically – Need mechanism to inform routers  Routers exchange information on which subnets contain members of groups  Routers exchange information to calculate shortest path to each network – Need routing protocol and algorithm  Routes determined based on source and destination addresses – Avoids unnecessary duplication of packets
  • 29. Chapter 16 Exterior Routing Protocols and Multicasting 29 Internet Group ManagementInternet Group Management Protocol (IGMP)Protocol (IGMP) Type:Membership query (general or group specific), membership report, leave group, max. response time Checksum: uses IPv4 algorithm Group address: zero for request, valid IP multicast for report or leave
  • 30. Chapter 16 Exterior Routing Protocols and Multicasting 30 IGMP OperationIGMP Operation  Host uses IGMP to make itself know as member of group to other hosts and routers  To join, send IGMP membership report message – Send to multicast destination of group being joined  Routers periodically issue IGMP query – To all-hosts multicast address – Hosts respond with report message for each group to which it belongs  Only one host in group needs to respond to keep group alive  Host keeps timer and reponds if no other reply heard in time  Host sends leave group message – Group specific query from router determins if any members remain
  • 31. Chapter 16 Exterior Routing Protocols and Multicasting 31 Group Membership with IPv6Group Membership with IPv6 Function incorporated in ICMPv6 Includes all ICMPv4 plus IGMP – Includes group membership query and report – Addition of new group membership termination message
  • 32. Chapter 16 Exterior Routing Protocols and Multicasting 32 Multicast Extension to OSPFMulticast Extension to OSPF (MOSPF)(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
  • 33. Chapter 16 Exterior Routing Protocols and Multicasting 33 Forwarding Multicast PacketsForwarding 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
  • 34. Chapter 16 Exterior Routing Protocols and Multicasting 34 Equal Cost MultipathEqual Cost Multipath AmbiguitiesAmbiguities 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
  • 35. Chapter 16 Exterior Routing Protocols and Multicasting 35 Interarea MulticastingInterarea 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
  • 36. Chapter 16 Exterior Routing Protocols and Multicasting 36 Inter-AS MulticastingInter-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
  • 37. Chapter 16 Exterior Routing Protocols and Multicasting 37 MOSPF Routing IllustrationMOSPF Routing Illustration
  • 38. Chapter 16 Exterior Routing Protocols and Multicasting 38 Multicast Routing ProtocolMulticast Routing Protocol CharacteristicsCharacteristics 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
  • 39. Chapter 16 Exterior Routing Protocols and Multicasting 39 Protocol Independent MulticastProtocol Independent Multicast (PIM)(PIM) Independent of unicast routing protocols Extract required routing information from any unicast routing protocol Work across multiple AS with different unicast routing protocols
  • 40. Chapter 16 Exterior Routing Protocols and Multicasting 40 PIM StrategyPIM 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
  • 41. Chapter 16 Exterior Routing Protocols and Multicasting 41 Spares Mode PIMSpares 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
  • 42. Chapter 16 Exterior Routing Protocols and Multicasting 42 Group Destination RouterGroup Destination Router Group Source RouterGroup Source Router Group Destination 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
  • 43. Chapter 16 Exterior Routing Protocols and Multicasting 43 PIM ApproachPIM 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
  • 44. Chapter 16 Exterior Routing Protocols and Multicasting 44 Example of PIM OperationExample of PIM Operation