Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 14.1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.

Similar presentations


Presentation on theme: "1 14.1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is."— Presentation transcript:

1 1 14.1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred to as interdomain routing.

2 2 Figure 14.1 Autonomous systems

3 3 Figure 14.2 Popular routing protocols Adaptive

4 4 14.3 RIP The Routing Information Protocol (RIP) is an intradomain routing protocol used inside an autonomous system. It is a very simple protocol based on distance vector routing. The topics discussed in this section include: RIP Message Format Requests and Responses Timers in RIP RIP Version 2 Encapsulation

5 5 Figure 14.8 Example of a domain using RIP

6 6 Figure 14.9 RIP message format

7 7 Figure 14.10 Request messages

8 8 Figure 14.11 shows the update message sent from router R1 to router R2 in Figure 14.8. The message is sent out of interface 130.10.0.2. Example 1 See Next Slide The message is prepared with the combination of split horizon and poison reverse strategy in mind. Router R1 has obtained information about networks 195.2.4.0, 195.2.5.0, and 195.2.6.0 from router R2. When R1 sends an update message to R2, it replaces the actual value of the hop counts for these three networks with 16 (infinity) to prevent any confusion for R2. The figure also shows the table extracted from the message. Router R2 uses the source address of the IP datagram carrying the RIP message from R1 (130.10.02) as the next hop address.

9 9 Figure 14.11 Solution to Example 1

10 10 Figure 14.12 RIP timers

11 11 A routing table has 20 entries. It does not receive information about five routes for 200 s. How many timers are running at this time? Example 2 Solution The 21 timers are listed below: Periodic timer: 1 Expiration timer: 20 − 5 = 15 Garbage collection timer: 5

12 12 Figure 14.13 RIP version 2 format

13 13 Figure 14.14 Authentication

14 14 RIP uses the services of UDP on well-known port 520. Note:

15 15 14.4 LINK STATE ROUTING In link state routing, if each node in the domain has the entire topology of the domain, the node can use Dijkstra’s algorithm to build a routing table. The topics discussed in this section include: Building Routing Tables

16 16 Figure 14.15 Concept of link state routing

17 17 Figure 14.16 Link state knowledge

18 18 Figure 14.18 Example of formation of shortest path tree

19 19 Table 14.1 Routing table for node A

20 20 14.5 OSPF The Open Shortest Path First (OSPF) protocol is an intradomain routing protocol based on link state routing. Its domain is also an autonomous system. The topics discussed in this section include: AreasMetric Types of Links Graphical Representation OSPF Packets Link State Update Packet Other Packets Encapsulation

21 21 Figure 14.19 Areas in an autonomous system

22 22 Figure 14.20 Types of links

23 23 Figure 14.21 Point-to-point link

24 24 Figure 14.22 Transient link

25 25 Figure 14.23 Stub link

26 26 Figure 14.24 Example of an AS and its graphical representation in OSPF

27 27 Figure 14.25 Types of OSPF packets

28 28 Figure 14.26 OSPF common header


Download ppt "1 14.1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is."

Similar presentations


Ads by Google