Top Banner
CS575 Internetworking & Rout ers 1 1 07/04/22 04:48 Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers
24

Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

Jan 14, 2016

Download

Documents

Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers. Internetworking & Routers Overview. Internetworking Protocol Architecture Design Issues Autonomous Systems Routing Border Gateway (BGP) Protocol Routing Open Shortest Path First (OSPF) Protocol. The Router Functions. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 1

104/21/23 08:38

Rivier CollegeCS575: Advanced LANs

Chapter 13: Internetworking & Routers

Page 2: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 2

204/21/23 08:38

Internetworking & Routers Overview

0 Internetworking Protocol Architecture0 Design Issues0 Autonomous Systems0 Routing Border Gateway (BGP) Protocol0 Routing Open Shortest Path First (OSPF) Protocol

Page 3: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 3

304/21/23 08:38

The Router Functions

0 Provide a link between networks.0 Provide for the routing and delivery of data between processes on

end systems attached to different networks.0 Provide these functions in such a way as not to require

modifications of the networking architecture of any of the attached subnetworks.

0 These functions are provided by the Internet Protocol, which is implemented in all end systems and routers.

Page 4: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 4

404/21/23 08:38

Routers

0 Router connects dissimilar networks and operates at layer 3 of the OSI model

0 Differences among networks include the following:- Addressing schemes (e.g., IEEE 802 LAN uses either 16-bit or

48-bit binary addresses for each attached device; an X.25 public frame-switching network uses 12-digit decimal addresses [encoded as 4-bit per digit for a 48-bit address])

- Maximum frame sizes (e.g., Ethernet imposes 1500-byte frame; X.25 – 1000-byte frame)

- Interfaces (the concept of a router is independent of interfaces)- Reliability

Page 5: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 5

504/21/23 08:38

Protocol Architecture for Router

Page 6: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 6

604/21/23 08:38

Internet Protocol Operations (X.25 packet-switched WAN)

Page 7: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 7

704/21/23 08:38

IP-controlled internet: Design Issues

0 Addressing: a unique address is associated with each End System (e.g., workstation or server) and each intermediate system (e.g., router) in a configuration [it is a network-level address]. In the case of the TCP/IP architecture, this is referred to as an IP (internet) address. In the case of the OSI architecture, this is referred to as a network service access point (NSAP).

0 Each application and each concurrent user of an application, is assigned a unique identifier, referred to as a port in the TCP/IP architecture and as a Service Access Point (SAP) in the OSI architecture. A unique SAP can be assigned to each level of the OSI architecture.

0 The IP (internet) address and Service Access Point (SAP) are global addresses with following key characteristics: * Global nonambiguity: a global address identifies a unique system. Synonyms are permitted. * Global applicability: it is possible at any global address to identify any other global address in any system.

Page 8: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 8

804/21/23 08:38

TCP/IP Concepts

Page 9: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 9

904/21/23 08:38

Other Design Issues: Routing & Datagram Lifetime

0 Routing: accomplished by maintaining a (static or dynamic) routing table in each end system and router that gives, for each possible destination network, the next router to which the internet datagram should be sent.

0 A static routing table could contain alternative routes if a router is unavailable. A dynamic table is more flexible in responding to both error and congestion conditions. They may also be used to support other internetworking services (e.g., security and priority).

0 Source routing is another routing technique. The source station specifies the route by including a sequential list of routers in the datagram.

0 Route recording is a service related to routing for testing and debugging purposes. To record a route, each router appends its internet address to a list of addresses in the datagram.

0 Datagram lifetime is calculated (e.g. by a hop count or a true measure of time), and used to avoid areas of congestion.

Page 10: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 10

1004/21/23 08:38

Other Design Issues: Fragmentation and Reassembly

0 In IP, datagram fragments are reassembled at the destination end system. The following fields are used in the IP header:

* Data Unit Identifier (ID); Data Length; Offset; More Flag.

0 To fragment a long datagram, an IP module in a router performs the tasks:

1. Create two new dataframs and copy the header fields of the incoming datagram into both.

2. Divide the incoming user data field into two approximately equal portions, placing one portion in each new datagram. The first portion must be a multiple of 64 bits.

3. Set the Data Length of the first new datagram to the length of the inserted data, and set More Flag to 1 (TRUE). The Offset field is unchanged.

4. Set the Data Length of the second new datagram to the length of the inserted data, and add the length of the first data portion divided by 8 to the Offset field. The More Flag remains the same.

Page 11: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 11

1104/21/23 08:38

Fragmentation Example

Page 12: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 12

1204/21/23 08:38

Routing

0 Routing Information about the topology and delays of the internet.0 Routing Algorithm is used to make a routing decision for a

particular datagram, based on current routing information.0 Autonomous System (AS) exhibits the following characteristics:

1. An AS consists of a group of routers exchanging information via a common routing protocol.2. An AS is a set of routers and networks managed by a single organization.3. There is a path between any two pair of nodes.

0 Interior Router Protocol (IRP) passes routing information between routers within an Autonomous System (e.g., OSPF).

0 Exterior Router Protocol (ERP) passes routing information between routers in different Autonomous Systems (e.g., BGP).

Page 13: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 13

1304/21/23 08:38

Application of Exterior and Interior Routing Protocols

Page 14: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 14

1404/21/23 08:38

Border Gateway Protocol (BGP)

0 BGP was developed for use with the TCP/IP protocol suite.0 BGP has become the standardized exterior router protocol for the

Internet.0 The BGP protocol operates in terms of messages, which are sent

over TCP connections.0 Three functional procedures are involved in BGP:

* Neighbor acquisition* Neighbor reachability* Network reachability

Page 15: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 15

1504/21/23 08:38

BGP-4 Messages

Page 16: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 16

1604/21/23 08:38

BGP Message Formats

Page 17: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 17

1704/21/23 08:38

BGP Message Formats (continued)

Page 18: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 18

1804/21/23 08:38

Open Shortest Path First (OSPF) ProtocolExample: a Sample Autonomous System

Page 19: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 19

1904/21/23 08:38

Directed Graph of the Autonomous System

Page 20: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 20

2004/21/23 08:38

The Shirt-Path-First (SPF) Tree for Router R6

Page 21: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 21

2104/21/23 08:38

Routing Table for Router R6OSPF Algorithm proposed by Dijkstra (1959)

Page 22: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 22

2204/21/23 08:38

Example Directed Graph 2

Page 23: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 23

2304/21/23 08:38

Example of Least-Cost Routing Algorithms (see Graph 2)

Page 24: Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers

CS575 Internetworking & Routers 24

2404/21/23 08:38

Example of Least-Cost Routing Algorithms (see Graph 2)