Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 5 IP Routing.

Slides:



Advertisements
Similar presentations
IP Routing.
Advertisements

RIP V2 CCNP S1(5), Chapter 4.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Copyright 2002 Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP By Carl Marandola.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.
SYPCNSA Department2007 Summer Youth Program: Internal Protocols: RIP & IGRP.
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Switching and Routing Technique
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)
Chabot College Chapter 5 – Routing Protocols: IGRP Review Questions Semester IIIELEC Semester III ELEC
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Sybex CCENT Chapter 8: IP Routing Instructor & Todd Lammle.
Routing and Routing Protocols Routing Protocols Overview.
© 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.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
Sybex CCNA Chapter 6: IP Routing Instructor & Todd Lammle.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
Routing -2 Dynamic Routing
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
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:
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—-5-1 WAN Connections Routing & Enabling RIP.
© 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.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Chapter 6 IP Routing. Basic information When you configure interface of a node with IP and mask, the node will know the network corresponding to that.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 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.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing and Routing Protocols
1 Identifying Static and Dynamic Routes Static Route Uses a route that a network administrator enters into the router manually Dynamic Route Uses a route.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Cisco Systems Networking Academy S2 C 12 Routing Protocols.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Routing Protocols Brandon Wagner.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
University of the Western Cape Chapter 12: Routing Protocols Interior and Exterior Routing Protocols Aleksandar Radovanovic.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
© 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.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Lec4: Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Semester 3, Chapter 5 Allan Johnson
Routing and Routing Protocols: Routing Static
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Introduction to Dynamic Routing Protocol
Routing and Routing Protocols: Routing Static
Introduction to Dynamic Routing Protocol
After 3.2 Revised
Routing Fundamentals and Subnets
Working at a Small-to-Medium Business or ISP – Chapter 6
Presentation transcript:

Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 5 IP Routing

Lecturer : Ms.Trần Thị Ngọc Hoa Objectives  Switching Revision  Routing Process  Static Routing  Default Route  Interior Routing Protocol  Lab Demo

Lecturer : Ms.Trần Thị Ngọc Hoa AAAA DDDD BBBB CCCC E0E3 E2E1 Layer 2 Switching Operation  Address learning  Forward/filter decision MAC Address Table E AAAA

Lecturer : Ms.Trần Thị Ngọc Hoa Layer 2 Switching Operation (cont) AAAA DDDD BBBB CCCC MAC Address Table E AAAA E DDDD E0 E3 E2 E1

Lecturer : Ms.Trần Thị Ngọc Hoa AAAA DDDD BBBB CCCC MAC Address Table E AAAA E DDDD E CCCC E0 E3 E2E1 Layer 2 Switching Operation (cont)

Lecturer : Ms.Trần Thị Ngọc Hoa Layer 2 Switching Operation (cont) AAAA DDDD BBBB CCCC MAC Address Table E AAAA E DDDD E CCCC E BBBB E0E3 E2 E1 Broadcast storm

Lecturer : Ms.Trần Thị Ngọc Hoa Routing Process Overview Receiving frame Check the Destination MAC address Detemine the Destination MAC address of next hop Encapsulate the frame & forward to the next hop Discard the frame’s header and trailer Error ? Discard the frame Router’s MAC ? Find the route Report the error or send to the default route Y Discard the frame Y N N N Y

Lecturer : Ms.Trần Thị Ngọc Hoa FA0/0 FA0/1 IP Routing Process Example / / / R_1 R_2

Lecturer : Ms.Trần Thị Ngọc Hoa R1 R2 R3 s0 s1 Static Routing / / / / / /24  There are three methods by which Routers use to add routes to their routing table. Connected routes Static routes Dynamic routes  Router(config)#ip route network [mask] {next-hop address | outgoing interface} [distance] [permanent] R1(config)# ip route s0 R1(config)# ip route

Lecturer : Ms.Trần Thị Ngọc Hoa Static Routing (cont)  Advantages 1. No overhead on Router’s processor 2. No bandwidth for transfering routing traffics between Routers 3. More security

Lecturer : Ms.Trần Thị Ngọc Hoa Static Routing (cont)  Disadvantages For administrator :  Must understand clearly the internetwork  Must master the cabling diagram among routers  No flexibility  No feasibility in large or medium internetworks

Lecturer : Ms.Trần Thị Ngọc Hoa Static Routing (cont)  Default Route  Special route that matches all packet destinations.

Lecturer : Ms.Trần Thị Ngọc Hoa Static Routing (cont)  Commands : ip route nexthop ip default-network classful_network / / / /

Lecturer : Ms.Trần Thị Ngọc Hoa

Static Routes (cont)  Classless Routing and Classful Routing : two options for how a router uses a default route  Classless Routing : a router uses default routes for any packet that does not match the other routes.  Classful Routing : places one restriction when a router can use its default route  Remember these commands : ip classless and no ip classless

Lecturer : Ms.Trần Thị Ngọc Hoa

Dynamic Routing  General Routing Protocol Function 1. Router learn routing information from other neighboring routers 2. Advertise its routing information to the other neighboring routers 3. If more than one route exists to reach one network, pick the best one based on a metric 4. Support convergence if the network topology changes

Lecturer : Ms.Trần Thị Ngọc Hoa Dynamic Routing  Two catgories of routing protocols IGP – Interior Gateway Protocol EGP – Exterior Gateway Protocol  IGP : used for inside a single Autonomous System – AS.  EGP: used for between different AS.  AS : internetwork under the administrative control of a single organization.  ASN : managed by ICANN - Internet Corporation for Assigned Network Number

Lecturer : Ms.Trần Thị Ngọc Hoa Interior Routing Protocols  Three branches : Distance Vector :  RIP – Routing Information Protocol  IGRP – Interior Gateway Routing Protocol Link-State :  OSPF – Open Shortest Path Fist  IS-IS – Intermediate System to Intermediate System Balanced hybrid  EIGRP – Enhanced IGRP

Lecturer : Ms.Trần Thị Ngọc Hoa Administrative Distance Route TypeAD Connected0 Static1 BGP(external routes)20 EIGRP (internal routes)90 IGRP100 OSPF110 IS-IS115 RIP120 EIGRP (external routes)170 BGP(internal routes)200

Lecturer : Ms.Trần Thị Ngọc Hoa Distance Vector Routing Protocol  Operation in a stable network  Loop Prevention S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2

Lecturer : Ms.Trần Thị Ngọc Hoa Operation in A Stable Network Source Subnet Out.Int Nexthop Metric Conn /24S0/0 N/A 0 Conn /24 Fa0/0 N/A 0 RIP /24S0/ RIP /24S0/ Source Subnet Out.Int Nexthop Metric Conn /24Fa0/0 N/A 0 Conn /24 Fa0/1 N/A 0 Conn /24S0/1N/A0 RIP /24S0/ , metric 1 RIP Update , metric , metric 1 RIP Update , metric 1 RIP Update , metric , metric 1 RIP Update S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2

Lecturer : Ms.Trần Thị Ngọc Hoa S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2 Routing Problem Source Subnet Out.Int Nexthop Metric Conn /24S0/0 N/A 0 Conn /24 Fa0/0 N/A 0 RIP /24S0/ RIP /24S0/ Source Subnet Out.Int Nexthop Metric Conn /24Fa0/0 N/A 0 Conn /24 Fa0/1 N/A 0 Conn /24S0/1N/A0 RIP /24S0/

Lecturer : Ms.Trần Thị Ngọc Hoa Loop Prevention  Route Poisoning  Split Horizon with Triggered Updates  Holddown process

Lecturer : Ms.Trần Thị Ngọc Hoa S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2 Route Poisoning Source Subnet Out.Int Nexthop Metric Conn /24S0/0 N/A 0 Conn /24 Fa0/0 N/A 0 RIP /24S0/ RIP /24S0/ Source Subnet Out.Int Nexthop Metric Conn /24Fa0/0 N/A 0 Conn /24 Fa0/1 N/A 0 Conn /24S0/1N/A0 RIP /24S0/ , metric , metric 16 RIP Update

Lecturer : Ms.Trần Thị Ngọc Hoa S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2 Split Horizon- Triggered Update Source Subnet Out.Int Nexthop Metric Conn /24S0/0 N/A 0 Conn /24 Fa0/0 N/A 0 RIP /24S0/ RIP /24S0/ Source Subnet Out.Int Nexthop Metric Conn /24Fa0/0 N/A 0 Conn /24 Fa0/1 N/A 0 Conn /24S0/1N/A0 RIP /24S0/ , metric , metric 16 RIP Update , metric , metric , metric 2 RIP Update

Lecturer : Ms.Trần Thị Ngọc Hoa S0/ S0/ Fa0/ /24 Fa0/ / /24 Fa0/1 R_1 R_2 Holddown Process R_4 R_3

Lecturer : Ms.Trần Thị Ngọc Hoa Timers TimerRIPIGRP Route Update30s90s Route Invalid180s270s Holddown180s280s Route Flush240s630s

Lecturer : Ms.Trần Thị Ngọc Hoa Lab Demo HaNoi HCM HN_1 HCM_1 HCM_2 HN_2 Internet XYZ Network RIP / / / / /24