Router and Routing Basics



Similar documents
Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

Introduction to Dynamic Routing Protocols

Chapter 4. Distance Vector Routing Protocols

Link-State Routing Protocols

O /27 [110/129] via , 00:00:05, Serial0/0/1

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

Chapter 10 Link-State Routing Protocols

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

VLSM and CIDR Malin Bornhager Halmstad University

Table of Contents. Cisco How Does Load Balancing Work?

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

CCNA 2 v5.0 Routing Protocols Final Exam Answers

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

"Charting the Course...

Interconnecting Cisco Network Devices 1 Course, Class Outline

How To Learn Cisco Cisco Ios And Cisco Vlan

Using the Border Gateway Protocol for Interdomain Routing

ISOM3380 Advanced Network Management. Spring Course Description

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Configuring a Gateway of Last Resort Using IP Commands

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

Cisco Certified Network Associate (CCNA) 120 Hours / 12 Months / Self-Paced WIA Fee: $

Angelos Stavrou. OF COURSE there is no Magic so lets see show things work in practice...

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

Routing with OSPF. Introduction

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

WANs and Routers. M.Sc. Aleksandra Kanevce M.Sc. Aleksandra Bogojeska

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Network Simulator Lab Study Plan

CCNA2 Chapter 11 Practice

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

IP Routing Configuring RIP, OSPF, BGP, and PBR

Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0

Table of Contents. Cisco Configuring a Basic MPLS VPN

Cisco 12 CCNA Certification

Working knowledge of TCP/IP protocol Suite IPX/SPX protocols Suite, MCSE or CNE or experienced in supporting a LAN environment.

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

: Interconnecting Cisco Networking Devices Part 2 v1.1

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

Packet Tracer 3 Lab VLSM 2 Solution

IT-AD08: ADD ON DIPLOMA IN COMPUTER NETWORK DESIGN AND INSTALLATION

Interconnecting Cisco Networking Devices Part 2

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

IP Routing Configuring Static Routes

Border Gateway Protocol (BGP)

Administrative Distance

How To Configure InterVLAN Routing on Layer 3 Switches

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

Course Contents CCNP (CISco certified network professional)

Route Discovery Protocols

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

Introduction about cisco company and its products (network devices) Tell about cisco offered courses and its salary benefits (ccna ccnp ccie )

OSPF Configuring Multi-Area OSPF

BGP. 1. Internet Routing

Introduction to LAN/WAN. Network Layer (part II)

Cisco Configuring Basic MPLS Using OSPF

The Internet. Internet Technologies and Applications

GregSowell.com. Mikrotik Routing

WIDE AREA NETWORKS: A COMPARISON OF DIFFERENT APPROACHES FOR HANDS-ON LABS

Internet Control Message Protocol (ICMP)

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Layer 3 Routing User s Manual

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

CCT vs. CCENT Skill Set Comparison

CHAPTER 3 STATIC ROUTING

Cisco Networking Professional-6Months Project Based Training

BGP Best Path Selection Algorithm

Interconnecting Cisco Networking Devices, Part 2 Course ICND2 v2.0; 5 Days, Instructor-led

Exterior Gateway Protocols (BGP)

- Classful vs. Classless Routing -

Transport and Network Layer

This chapter discusses the following advanced IP addressing topics: IP Address Planning Hierarchical Addressing Using Variable-Length Subnet Masks

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Routing Protocols and Concepts Chapter 2 Conceitos de protocolos de Encaminhamento Cap 2

How To Understand Bg

Inter-domain Routing. Outline. Border Gateway Protocol

Lab Load Balancing Across Multiple Paths Instructor Version 2500

Lab 2 - Basic Router Configuration

Interconnecting Cisco Networking Devices: Accelerated (CCNAX) 2.0(80 Hs) 1-Interconnecting Cisco Networking Devices Part 1 (40 Hs)

Chapter 2 Lab 2-2, EIGRP Load Balancing

DEGREE THESIS. Improving Network Performance by Implementing the Path Control Tools. Derick Kolle Nduge, Augustine Chika, Mohammednur Ibrahim

Global Learning & Development CCNA Curriculum Overview

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Troubleshooting and Maintaining Cisco IP Networks Volume 1

Interconnecting Cisco Networking Devices, Part 2 **Part of CCNA Route/Switch**

: Interconnecting Cisco Networking Devices Part 2 v2.0 (ICND2)

Cisco Router Configuration Tutorial

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

BSCI Chapter Cisco Systems, Inc. All rights reserved.

INTERCONNECTING CISCO NETWORKING DEVICES PART 2 V2.0 (ICND 2)

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Cisco Certified Network Associate - Design

Transcription:

Router and Routing Basics Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1

Routing Protocols and Concepts CCNA2 Routing and packet forwarding Static routing Dynamic routing protocols Distance vector routing protocols RIP version 1 VLSM and CIDR RIP version 2 The routing table EIGRP Link-state routing protocols OSPF 2

Objectives Identify a router as a computer with an operating system (OS) and hardware designed for the routing process Describe how a router determines a path and switches packets Static routing Routing protocols (dynamic routing) 3

Routers Special type of computer Connect and allow communication between two networks Determine the best path through the network Configuration files to control the traffic Generally have two connection types: WAN connection (connection to ISP) LAN connection 4

Routers Data is sent in form of packets between two end devices Routers are used to direct packets to its destination Routers examine a packets destination IP address and determine the best path by using a routing table 5

Cisco IOS Software Operating system in all of the Cisco routers or switches, which provides the following network services: Basic routing and switching functions Reliable and secure access to networked resources Network scalability 6

Router components CPU Executes operation systems instructions RAM Stores instructions and data needed for CPU ROM Boot instructions, scaled-down vers. of IOS Flash Stores IOS, copied into RAM during bootup proc. NVRAM Startup configuration file 7

Router Boot-up process Major phases to the router boot-up process Test router hardware Power-On Self Test (POST) Execute bootstrap loader Locate & load Cisco IOS software -Locate IOS -Load IOS Locate & load startup configuration file or enter setup mode -Bootstrap program looks for configuration file 8

IOS File System Overview 9

Router interfaces Interface: a physical connector on the router, main purpose to receive and forward packets Interfaces connects to various types of networks, and different types of media and connectors are required Each interface connects to a separate network 10

Router interfaces LAN interfaces Ethernet, fastethernet Connects the router to a LAN WAN interfaces Serial, ISDN, Frame Relay Connects the router to external networks, interconnect LANs 11

Routing Process to forward packets to destination networks Layer 3 device Examines destination IP address (Layer 3) Routing table is used to find best path to destination 12

Routing Forwarding decisions based on Layer 3 Operates at Layer 1, 2 and 3 13

Routing Table Data file in RAM Stores information about directly connected and remote networks Contains network/next hop associations Directly connected networks Remote networks Static routes (manually configured) Dynamic routing protocols (learned from other routers) 14

Static Routing Configured manually Specifies network address and subnet mask of remote network, and IP address of next hop router or exit interface Use static routes when: Network only consists of few routers Network is connected to Internet only through one ISP 15

Static Routing Advantages: Minimal CPU processing Easy to configure Easier for administrator to understand 16

Static Routing Disadvantages: Configuration and maintenance is timeconsuming Does not scale well with growing networks Requires complete knowledge of the whole network for proper implementation 17

Static Routing 18

Dynamic routing Added to routing table by using a dynamic routing protocol Used by routers to share information about the reachability and status of remote networks Perform several activities: Network discovery Updating and maintaining routing tables 19

Dynamic routing Advantages: Less administrative overhead when adding or deleting a network Protocols automatically react to the topology changes More scalable 20

Dynamic Routing Disadvantages: Router resources are used (CPU cycles, memory and link bandwidth) More administrator knowledge is required for configuration, verification and troubleshooting 21

Dynamic Routing 22

Best Path and Metric Multiple path to same destination Best path is selected by the routing protocol, based on a specific value (metric) Each protocol uses its own rules and metrics to build and update routing tables Metric is used to measure the distance to the destination network Lowest metric = best path, placed in routing table 23

Metrics Hop cont: counts the number of routers a packet must traverse Bandwidth: preferring the path with highest bandwidth Load: traffic utilization on a link Delay: time for a packet to traverse a path Reliability: probability of a link failure Cost: determined by IOS or administrator to indicate preference for a route 24

Path Determination The process of how the router determines which path to use when forwarding a packet Directly connected Forwarded directly to the destination Remote network Forwarded to another router No route determined Packet discarded, ICMP unreachable sent 25

Switching Function Process used by a router to accept a packet on one interface and forward it out another interface Decapsulate the Layer 3 packet by removing Layer 2 frame header and trailer Examines destination IP address of the packet to find best path in routing table Encapsulate Layer 3 packet into a new Layer 2 frame and forwards on correct interface 26

Example PC 1 will send a packet to PC 2 27

Example cont. 28

Example cont. 29

Example cont. 30

IP Routing protocol RIP (Routing Information Protocol) IGRP (Interior Gateway Routing Protocol) EIGRP (Enhanced IGRP) OSPF (Open Shortest Path First) IS-IS (Intermediate System-to-Intermediate System) BGP (Border Gateway Protocol) 31

Autonomous System (AS) Collection of networks/routers Share a common routing strategy Viewed as a single entity from the outside world 32

Routing Protocols Routing protocols can be classified into different groups according to their characteristics Interior Gateway Protocols (IGP) Exterior Gateway Protocols (EGP) 33

IGP Routing Protocols Two classes of routing protocols: Distance vector Determines the direction and distance to any link in the internetwork Link-state Recreates the exact topology of the entire internetwork 34

Distance Vector Routing Protocol Periodic updates Slow convergence Routing table from directly connected neighbor routers Add distances before passing it to other neighbors Distance is defined in terms of a metric, such as hop count 35

Link-state Routing Protocol Complex database of topology information Knowledge of the entire network Uses SPF to calculate the best path Updates when changes in the topology occurs Fast Convergence More memory and processor overhead 36

Classful Routing Protocols Do not send subnet mask information in routing updates Do not support variable length subnet masks (VLSM) and discontiguous networks 37

Classless Routing Protocols Include the subnet mask in routing updates Supports both VLSM and discontiguous networks Required in most networks today 38

Classful vs. Classless Routing 39

Convergence When all routers routing tables are at a state of consistency All routers have complete and accurate information about the network Convergence time is the time it takes routers to share information, calculate best paths, and update their routing tables A network is not completely operable until the network has converged. Short convergence times are required 40

Load Balancing The ability for a router to distribute packets among multiple same cost paths 41

Administrative Distance Administrative distance is used to determine the best path to a particular destination, when the same path is learned from two or more different routing sources Measures the trustworthiness of a routing source Lowest AD is inserted in the routing table 42

Default Routes Used when the router is unable to match a destination network Do not have to maintain a routing table entry for every Internet network Statically entered by an administrator ip route 0.0.0.0 0.0.0.0 Dynamically learned using a routing protocol ip default-network 43