Networks and Protocols CE00997-3 Week 7b. Routing an Overview.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: Routing Concepts Routing Protocols.
Advertisements

IP Forwarding Relates to Lab 3.
IP Routing Static Routing Information management 2 Groep T Leuven – Information department 2/14 The Router Router Interface is a physical.
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
RIP V1 W.lilakiatsakun.
Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 2 Static Routing CCNA.
Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 1 Introduction to Routing and Packet Forwarding.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Routing and Packet Forwarding Routing Protocols and Concepts.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Introduction to networking (Yarnfield) Introduction to routing.
1 16-Aug-15 S Ward Abingdon and Witney College Routing CCNA Exploration Semester 2 Chapter 1.
Introduction to networking (Yarnfield) Introduction to routing.
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
1 Semester 2 Module 1 WANs and Routers Yuda college of business James Chen
Routing CCNA Exploration Semester 2 Chapter 1
Pemrograman Jaringan Routing -Aurelio Rahmadian-.
1 Routing Introduction to Routing Static Routing.
CCNA – Cisco Certified Network Associates Routing and Static Routes By Roshan Chaudhary Lecturer Islington College.
Introduction to Routing and Packet Forwarding
Introduction to networking Devices. Objectives  Be able to describe the common networking devices and their functionality, including:  Repeaters  Hubs.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 1 WANs and Routers.
Seminar ON CISCO ROUTER CONFIGURATION. CONTENT Introduction to Router Series of Router Interfaces of Router Types of Router Protocols used in Router Configuring.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
CCNA 2 Week 1 Routers and WANs. Copyright © 2005 University of Bolton Welcome Back! CCNA 2 deals with routed networks You will learn how to configure.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
1. 2 Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data forwarding.
1 Version 3.1 Module 1 WANs and Routers. 2 Version 3.1 WANS WAN operates at the physical layer and the data link layer of the OSI reference model. Provide.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Routing and Packet Forwarding.
SW REVERSE JEOPARDY Chapter 1 CCNA2 SW Start-up Routing table Routing table Router parts Router parts Choosing a path Choosing a path Addressing Pot.
Boot Sequence, Internal Component & Cisco 3 Layer Model 1.
Basic Routing Principles V1.2. Objectives Understand the function of router Know the basic conception in routing Know the working principle of router.
Routing and Routing Protocols
Presented to:-Sir.Ali Presented by:-Mahmood Khan Roll No:-2801.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 Introduction to Routers Nasir Majeed Assistant Professor PTCL Academy Islamabad.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
Introduction to Networks v5.1 Chapter 6: Network Layer.
Sem1 - Module 10 Routing Fundamentals and Subnets
COMPUTER NETWORK AND DESIGN CSCI 3385K Introduction to Routers.
COMPUTER NETWORK AND DESIGN CSCI 3385K Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
Static Routing Routing Protocols and Concepts – Chapter 2.
Cisco I Introduction to Networks Semester 1 Chapter 6 JEOPADY.
ROUTING AND ROUTING TABLES 2 nd semester
Static Routing CCNA Routing and Switching Semester 2 Chapter 6
Routers 2nd semester
Instructor Materials Chapter 6: Network Layer
Routing and routing tables
Routers 2nd semester
Chapter 6: Network Layer
Chapter 4: Routing Concepts
Routing and routing tables
Chapter 6: Network Layer
Routing Protocols and Concepts – Chapter 2
Instructor & Todd Lammle
Rick Graziani Cabrillo College
Instructor & Todd Lammle
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
CCE1030 Computer Networking
Router Basics รศ. ดร. อนันต์ ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D.
Lecture9: Embedded Network Operating System: cisco IOS
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Networks and Protocols CE Week 7b

Routing an Overview

Routes - Motorways

Routes – All roads

Trains / planes

Preferred route

7 Router as a Computer Routers are: – Computers that specialize in sending packets over the data network. – Responsible for interconnecting networks by selecting the best path for a packet to travel and forwarding packets to their destination.

8 A LAN WAN Router as a Computer A router connects multiple networks. This means that it has multiple interfaces that each belong to a different IP network Fast Ethernet Serial S0/0 Fa0/0 Each network that a router connects to typically requires a separate interface. These interfaces are used to connect a combination of both Local Area Networks (LANs) and Wide Area Networks (WANs).

9 Router as a Computer

10 Router Internal Components

11 Router as a Computer Router components and their functions: – CPU - Executes operating system instructions – Random access memory (RAM) - Contains the running copy of configuration file. Stores routing table. RAM contents lost when power is off – Read-only memory (ROM) - Holds diagnostic software used when router is powered up. Stores the router’s bootstrap program. – Non-volatile RAM (NVRAM) - Stores startup configuration. This may include IP addresses (Routing protocol, Hostname of router) – Flash memory - Contains the operating system (Cisco IOS) – Interfaces - There exist multiple physical interfaces that are used to connect network.

12 Steps in Router Initialisation. 1. Perform POST 2. Execute bootstrap loader 3. Locate IOS 4. Load IOS 5. Locate config file 6. Execute config file 7. Enter SETUP mode

13 External Connections on a 2621 Router

14 Physical Datalink Network Transport Session Presentation Application LAN Physical Datalink Network Transport Session Presentation Application Physical Datalink Network Physical Datalink Network PC1 Router 1 PC2 Router 2 Routers & Packet Forwarding Routing Process Routing Process User Process User Process WANLAN

15 Ethernet IPv4 TCP SESSION PRESENTATION APPLICATION Network Ethernet IPv4 TCP SESSION PRESENTATION APPLICATION IPv4 PC1 Router A PC2 Router B Ethernet PPP EthernetPPP Ethernet Packet Forwarding Network Network C C R – (hop=1) via B C C R – (hop=1) via A

16 Path determination is a process used by a router to pick the best path to a destination. One of 3 path determinations results from searching for the best path: 1.Directly connected network. 2. Remote network. 3. No route determined. Router Paths and Packet Switching

17 Version IHL Destination IP Address IP Options (optional) Padding Data ( Variable Length ) IP Datagram Format Total LengthType of Service IP Data Payload – Contains the data (segment) passed from the Transport layer Identification Flags Fragment Offset Protocol Time to Live Header Checksum Source IP Address

18 IP Address: MAC: 11:11:11:11:11:11 IP Address: MAC: 22:22:22:22:22:22 Switch IP Address: MAC: 33:33:33:33:33:33 IP Address: MAC: 44:44:44:44:44:44 IP Address: MAC: 55:55:55:55:55:55 IP Address: MAC: 77:77:77:77:77:77 IP Address: MAC: 88:88:88:88:88:88 Switch IP Address: MAC: 66:66:66:66:66:66 A B C Frame DestSource Packet DestSource Layer 2 Layer 3 Identify the correct destination and source addresses at points A, B & C If 1.2 sends a packet to 2.3 Router Paths and Packet Switching

19 Router Paths and Packet Switching Switching Function of Router is the process used by a router to switch a packet from an incoming interface to an outgoing interface as follows: 1.Strips off layer 2 headers. 2.Examines destination IP address located in Layer 3 header to find best route to destination. 3.Re-encapsulates layer 3 packet into layer 2 frame. 4.Forwards frame out exit interface.

20 As a packet travels from one networking device to another: – The Source and Destination IP addresses NEVER change. – The Source & Destination MAC addresses CHANGE as packet is forwarded from one router to the next. – TTL field decrement by one until a value of zero is reached at which point router discards packet (prevents packets from endlessly traversing the network). Router Paths and Packet Switching

21 Routing Table Structure Routing Table is stored in ram and contains information about: – Directly connected networks - this occurs when a device is connected to another router interface. – Remotely connected networks - this is a network that is not directly connected to a particular router. – Detailed information about the networks include source of information, network address & subnet mask, and IP address of next-hop router Show ip route command is used to view a routing table

22 Routing Table Principles Principle 1: Every router makes its decision alone, based on the information it has in its own routing table. Principle 2: The fact that one router has certain information in its routing table does not mean that other routers have the same information. Principle 3: Routing information about a path from one network to another does not provide routing information about the reverse, or return path.

Routing Table Principles Static routes – if a network is not directly connected, a static route must be entered. For R1 – & are directly connected. For R1 – , & must be assigned static routes.

24 Directly Connected Networks S0/0/0Fa0/ R

25 Static Routes S0/0/0Fa0/ R

26 When to use static routes: – When network only consists of a few routers – Network is connected to internet only through one ISP – Hub & spoke topology is used on a large network Static Routes

27 Dynamic Routes S0/0/0Fa0/ R

28 Routing Table Principles 1. Every router makes its decision alone, based on the information it has in its own routing table. 2. The fact that one router has certain information in its routing table does not mean that other routers have the same information. 3. Routing information about a path from one network to another does not provide routing information about the reverse, or return, path.

29 Best Path & Metric E1 64kbps Determining a router's best path involves the evaluation of multiple paths to the same destination network and selecting the optimum or "shortest" path to reach that network.

30 Equal Cost Load Balancing E1 Equal Cost Load Balancing - when a router has multiple paths to a destination network and the value of that metric (hop count, bandwidth, etc.) is the same, this is known as an equal cost metric, and the router will perform equal cost load balancing.