Lecture 10
Lecture 10
Hierarchical routing
Outlines
• Hierarchical routing
• Routing protocol
– Interior
• Routing information protocol (RIOP)
• Open shortest path first (OSPF)
• Multicast Open shortest path first (MOSPF)
– Exterior
• Border Gateway protocol (BGP)
Introduction Hierarchical routing
Introduction Hierarchical routing
Cont…
• A set of aggregated routers and networks
managed by a single organization called
autonomous systems (AS)
• The routers within the As exchange
information using a common routing protocol
• Routers in same AS run same routing
protocol
– “intra-AS” routing protocol
– routers in different AS can run different intra-
AS routing protocol
Introduction Hierarchical routing
Cont…
3c
3a 2c
3b 2a
AS3 2b
1c AS2
1a 1b AS1
1d • Forwarding table
configured by both intra-
and inter-AS routing
Intra-AS
Routing
Inter-AS
Routing
algorithm
algorithm algorithm
– intra-AS sets entries for
Forwarding internal destinations
table
– inter-AS & intra-AS
sets entries for external
destinations
Routing protocols
• Two classes of protocols:
–Interior
• Routing information protocol (RIP)
• Open shortest path first (OSPF)
• Multicast Open shortest path first
(MOSPF)
–Exterior
• Border Gateway protocol (BGP)
Routing information protocol (RIP)
backbone
area
border
routers
area 3
internal
routers
area 1
area 2
Hierarchical OSPF Cont.…
• Two-level hierarchy: local area, backbone.
– link-state advertisements only in area
– each nodes has detailed area topology; only know
direction (shortest path) to nets in other areas.
• Area border routers: “summarize” distances
to nets in own area, advertise to other Area
Border routers.
• Backbone routers: run OSPF routing limited
to backbone.
• Boundary routers: connect to other AS
Multicast Link state (MOSPF)
• Multicast Open Shortest Path First (MOSPF) is
extension of the OPSF protocol which is used in
unicast routing.
• It also uses the source based tree approach to
multicasting.
• If the internet is running a unicast link state routing
algorithm, the idea can be extended to provide a
multicast link state routing algorithm.
• To extend unicasting to multicasting, each router
needs to have another database, as with cases of
unicast distance vector routing to show which
interface has an active member in particular group
Border Gateway Protocol (BGP)
• A advertises path AW to B
• B advertises path BAW to X
• Should B advertise path BAW to C?
– No way! B gets no “revenue” for routing CBAW since
neither W nor C are B’s customers
– B wants to force C to route to w via A
– B wants to route only to/from its customers!
Assignment
• As you are experts in the telecom
industry you are asked to make short
presentation on (what is the routing
process in your company)
• Key words
– Routing in telephone networks,
Dynamic Non-hierarchical Routing
(DNHR), Hierarchical routing; Trunk
status map routing (TSMR), real-time
network routing (RTNR)