Chapter 5 – TCP/IP: Part 4 Dr. V.T. Raja Oregon State University.

Slides:



Advertisements
Similar presentations
CISCO NETWORKING ACADEMY Chabot College ELEC Routed and Routing Protocols.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Chapter 5 – TCP/IP: Routing – Part 2 Dr. V.T. Raja Oregon State University.
Chapter 25 Internet Routing Internetworking Technology How routing tables are built initially How routing software updates the tables as needed. Propagation.
CCNA 2 v3.1 Module 6.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Chapter 5 – TCP/IP: Routing – Part 2 Dr. V.T. Raja Oregon State University.
Routing.
Chapter 5 TCP/IP: Routing – Part 1 Dr. V.T. Raja Oregon State University.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
Chapter 5 – Routing Protocols: IGRP. Building a Network To Be Reliable – provide error detection and ability to correct errors To Provide Connectivity.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Chapter 8 Routing. Introduction Look at: –Routing Basics (8.1) –Address Resolution (8.2) –Routing Protocols (8.3) –Administrative Classification (8.4)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
Routing and Routing Protocols Routing Protocols Overview.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Guide to TCP/IP, Third Edition Chapter 10: Routing in the IP Environment.
© 2002, Cisco Systems, Inc. All rights reserved..
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
1 Chapter Overview Routing Principles. Understanding Routing--important Routing refers to the process of taking a packet from one device and sending it.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
10/8/2015CST Computer Networks1 IP Routing CST 415.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Routing/Routed Protocols Part I. Routed Protocol Definition: Routed Protocol – used to transmit user data (packets) through an internetwork. Routed protocols.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Routing and Routing Protocols
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
1 Version 3.1 Module 6 Routed & Routing Protocols.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
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.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Computer networks Name: K.SUDHA Designation: Lecturer Department: Electrical and Electronics Engineering Subject code: CS2361 Year: III Unit: II Title:
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.
Introduction The network layer sits between the application layer and the data link layer. It accepts messages from the application layer and formats.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Chapter 5 Network and Transport Layers
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
ICMP ICMP – Internet Control Message Protocol
COMP 3270 Computer Networks
Routing/Routed Protocols
Chapter 5 Network and Transport Layers
Introduction to Dynamic Routing Protocol
Routing.
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
CCE1030 Computer Networking
Chapter 4: Network Layer
Routing.
Presentation transcript:

Chapter 5 – TCP/IP: Part 4 Dr. V.T. Raja Oregon State University

TCP/IP – Part 4 - Routing Outline Part 4a: Introduction Different Types of Routing Part 4b : Routing Protocols Routing Tables

TCP/IP-Part 4a: Routing Routing : Path taken by message from sender to final destination Routing Table : Devices that perform routing have a routing table that specifies route to different destinations. The routing tables are constructed/updated using different types of routing technique(s). Different Types of Routing –Centralized –Decentralized Static Dynamic Routing (Distance Vector and Link State Dynamic Routing) – Connectionless and Connection-Oriented Routing – QoS Routing

Centralized and Decentralized Routing Different Types of Routing Centralized and Decentralized Routing Centralized Routing –All routing decisions are made by one central computer –Example: Decentralized Routing –Computers/routers in network make their own routing decisions following a formal routing protocol, which could be capable of self-adjusting, and adapting to changes in the network configurations

Static Routing Different types of Routing Decentralized Routing: Static Routing Static –Routing table is developed by the network manager –Changes are made to the routing table only when computers are added or removed from network –Example:

Dynamic (Adaptive) Routing Different types of Routing Decentralized Routing: Dynamic (Adaptive) Routing Dynamic Routing –Used when there are multiple routes and it is important to select the best (or fastest) route, in order to route messages away from traffic on busy circuits –An initial routing table is developed by the network manager, but is continuously updated by the computers themselves (with the help of routing protocols) to reflect changing network conditions, such as network traffic

Distance Vector Dynamic Routing Different types of Routing Decentralized Routing – Dynamic (Adaptive) Routing Distance Vector Dynamic Routing Distance Vector Dynamic Routing –Routing decisions are made based on # of hops along a route –What is a hop? Examples: –A - C (via B): »# of hops = –A – C (via D, E & F): »# of hops = –Computers periodically (could be as often as every 1-2 minutes) exchange information on the hop count and sometimes the relative speed of the circuits in route with their neighbor

Link State Dynamic Routing Different types of Routing Decentralized Routing – Dynamic (Adaptive) Routing Link State Dynamic Routing Link State Dynamic Routing –Routing decisions are based on several factors: Number of hops in each route Speed of circuits in each route Traffic conditions on each route (How busy the route is?) Reliability of each route

Disadvantages of Dynamic Routing Requires more processing effort from each computer on the network compared to centralized or static routing “Compromises” on network capacity during transmission of route status information

Connectionless and Connection-Oriented Routing Different Types of Routing Connectionless and Connection-Oriented Routing A message may be segmented into several packets Connectionless Routing –Different packets of the same message could take different routes Connection-Oriented Routing –A virtual circuit (VC) is set up between sender and receiver –A VC is one that appears to be a point-to-point circuit –All packets follow the same VC route; –Overhead involved in establishing and closing VC before and after transmission of all packets

Quality of Service (QoS) Routing Different Types of Routing Quality of Service (QoS) Routing Quality of Service (QoS) Routing –Special type of connection- oriented dynamic routing protocol –Different messages or packets are assigned different priorities Applications: –Different classes of service are defined for different priorities Example:

Routing Protocols Used to exchange route status information among computers to enable them to build and maintain their routing tables As network grows large, knowing all possible routes become impractical Even at some modest # of computers, routing protocols become impractical due to the amount of traffic they generate autonomous system For this reason, networks are often subdivided into autonomous system of networks

Autonomous System of Networks Routing Protocols Autonomous System of Networks Each large organizational network connected to Internet (e.g., AT&T, IBM, OSU) can be viewed as a separate autonomous system Computers within each autonomous system usually exchange routing information among themselves Routing protocols used inside an autonomous system are called interior routing protocols Routing protocols used between autonomous systems are called exterior routing protocols

Routing Protocols Internet Control Message Protocol (ICMP) –Echo cycles Example: Ping command – Determine if destination is reachable before a connection is established to transmit packets –Error advisement Example: Ping command – Host (Destination) unreachable –Flow control Requesting a device to reduce the rate at which it transmits

Routing Protocols Routing Information Protocol (RIP) –Dynamic distance vector routing protocol –Scalability: 15-hop limit –Good for smaller networks –Broadcast interruptions (entire routing table transmitted very often) –Slower convergence – Takes a longer time for routing tables to be transmitted very often

Routing Protocols Open Shortest Path First (OSPF) –Link State Dynamic Routing Protocol –Faster convergence Designated router updated on changes in route status Border Gateway Protocol (BGP) –Distance Vector Dynamic Routing Protocol –Used between autonomous systems –Changes in route status info transmitted

Comparison of Routing Protocols RIPOSPFBGP Interior/Exterior? Interior Exterior Type (Distance Vector/ Link State?) Distance VectorLink StateDistance Vector Routing update content (Routing Table/Updates?) Routing TableUpdates only Routing update frequency Very often (e.g., every 30 seconds) Updates only Convergence (Slow/Fast/Complex?) SlowFastComplex Scalability PoorVery Good

TCP/IP and Routing TCP/IP can use RIP, ICMP, OSPF, BGP It is compatible with distance vector and link state protocols Can operate either as connectionless or connection oriented routing Can support QoS routing (a new version of OSPF called QOSPF)

Routing Tables Routing Table for B DestinationRouteAC DAE FE GC DefaultA

Routing Table (Continued) Network Destination NetmaskGatewayInterfaceMetric (Cost) Default route: Loop back (Self) Network Route Local Host Subnet broadcast Multicast: Broadcast

Introduction Router Forwarding Table Destination AddressPrefix (Mask)Metric (Cost)InterfaceNext-Hop Router ( )472G H F H Local H

Unicast/Broadcast/Multicast Unicast –Most common type of message transmitted (from one sender to one final destination) –Example: Broadcast –Subnet broadcast Example –LAN broadcast Example Multicast –Message sent to different destinations, each of which could belong to different subnets or different networks –Use (IGMP) Internet Group Management Protocol for routing –Each multicast group is temporarily assigned a special Class D IP address to identify the group, thus allowing a restricted multicast to the group members only –Examples: