© 2011 ITT Educational Services Inc.

Slides:



Advertisements
Similar presentations
1 Chapter 22 Network layer Delivery, Forwarding and Routing.
Advertisements

The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
Routing Fundamentals and Subnetting
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Instructor & Todd Lammle
Delivery, Forwarding, and Routing
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
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
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Business Data Communications, by Allen Dooley, (c) 2005 Pearson Prentice HallChapter Five 1 Business Data Communications Chapter Five Network, Transport,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
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
Click to edit Master subtitle style Chapter 9: Introduction to IP Routing Instructor:
Copyright © Lopamudra Roychoudhuri
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing/Routed Protocols Part I. Routed Protocol Definition: Routed Protocol – used to transmit user data (packets) through an internetwork. Routed protocols.
© 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.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
© 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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing 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.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing and Routing Protocols
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
© 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 7: Slide 1 Unit 7 Advanced IP Routing Chapter 19 to 21.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
 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.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Class Agenda 10/24/15 Learning Objectives Unit 6: Presentation, Discussions and Video Chapter17 and 18. IP Subnet Design Midterm Exams will be held Today.
NT1210 Introduction to Networking
Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 5 IP Routing.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
22.1 Network Layer Delivery, Forwarding, and Routing.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Lec4: Introduction to Dynamic Routing Protocol
Semester 3, Chapter 5 Allan Johnson
Click to edit Master subtitle style
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Introduction to Dynamic Routing Protocol
Unit 8 Troubleshooting Routing Protocols and IP Version 6 Chapters 22 & 23 NT2640.U8.PS1 IP Networking: Unit 8: Slide 1.
Chapter 5 Working with IP Addresses
Unit 7 Advanced IP Routing Chapter 19 to 21
© 2011 ITT Educational Services Inc.
Introduction to Dynamic Routing Protocol
Class Agenda 4/18/16 Learning Objectives
Chapter 2: Static Routing
CIT 384: Network Administration
Click to edit Master subtitle style
Presentation transcript:

Unit 4 IP Routing with Connected, Static, and RIP-2 Routes Chapters 12-14 NT2640.U4.PS1 © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 4: Slide 1

Class Agenda 10/10/15 Learning Objectives Unit 3: Presentation and Discussions Chapter 12-14 Discussion on Lab Activities. Discussion on Assignments. Break Times. 10 Minutes break in every 1 Hour. Note: Submit all Assignment and labs due today.

In this unit, students will demonstrate an: Objectives In this unit, students will demonstrate an: Understanding of the IP Routing Process including the IP Route Selection Process Understanding of IP Connected and Static Routes including Configuration and Verification Steps Understanding of the Definition of IP Subnet Understanding of the Distance Vector versus Link-State Routing Protocols Understanding of the Cisco IOS IP RIP v2 Configuration and Verification Steps Understanding of the Cisco IOS Administrative Distance Default Numeric Weights © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 4: Slide 3

IP Routing and Analyzing IP Subnets Chapters 12 & 13 NT2640-U4-PS1 © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 4: Slide 4 4

IP Routing IP routing is also call called IP forwarding It is the process use by routers to send packets at the network layer. IP routing protocols refers to the protocols the routers use to implement the routing tables © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 5

Figure 2.7 Hop-to-hop delivery

Figure 2.9 Source-to-destination delivery

IP Routing and Addressing IP routing depends on the rules of IP addressing, with one of the original core design goals for IP addressing being the creation of efficient IP routing. IP routing defines how an IP packet can be delivered from the host at which the packet is created to the destination host. IP addressing conventions group addresses into consecutively numbered sets of addresses called subnets, which then aids the IP forwarding or IP routing process. This book uses the terms IP routing and IP forwarding as synonymous terms. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 8

Figure 22.4 Default method

Routing Steps of a Router 1. For each received frame, it uses the data-link trailer frame check sequence (FCS) field to ensure that the frame had no errors; if errors occurred, discard the frame (and do not continue to the next step). 2. Checks the frame’s destination data link layer address, and process only if addressed to this router or to a broadcast/multicast address. 3. Discards the incoming frame’s old data-link header and trailer, leaving the IP packet. 4. Compares the packet’s destination IP address to the routing table, and find the route that matches the destination address. This route identifies the outgoing interface of the router, and possibly the next-hop router. 5. Determines the destination data-link address used for forwarding packets to the next router or destination host (as directed in the routing table). 6. Encapsulates the IP packet inside a new data-link header and trailer, appropriate for the outgoing interface, and forward the frame out that interface. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 10

Example of the IP Routing Process © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 11

IP Routing Process “Of Previous Slide” 1. R1 checks the FCS, and the frame has no errors. 2. R1 finds its own Fa0/0 interface MAC address in the frame’s destination MAC address field, so R1 should process the encapsulated packet. 3. R1 discards the old data-link header and trailer, leaving the IP packet . 4. R1 compares the destination IP address (172.16.3.3) to R1’s routing table, finding the matching route shown in the figure, with outgoing interface Fa0/1 and next-hop router 172.16.2.252. 5. R1 needs to find the next-hop device’s MAC address (R2’s MAC address), so R1 looks and finds that MAC address in its ARP table. 6. R1 encapsulates the IP packet in a new Ethernet frame, with R1’s Fa0/1 MAC address as the source MAC address, and R2’s Fa0/0 MAC address (per the ARP table) as the destination MAC address. R2 sends the frame. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 12

Figure 22.5 Simplified forwarding module in classless address

Example of the IP Routing Process © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 14

Example IP Addressing Design © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 15

IP Forwarding by Matching the Most Specific Route Any router’s IP routing process requires that the router compare the destination IP address of each packet with the existing contents of that router’s IP routing table. Often, only one route matches a particular destination address. However, in some cases, a particular destination address matches more than one of the router’s routes. Some legitimate and normal reasons for the overlapping routes in a routing table © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 16

Routes to Directly Connected Subnets A router automatically adds a route to its routing table for the subnet connected to each interface, assuming that the following two facts are true: The interface is in a working state—in other words, the interface status in the show interfaces command lists a line status of up and a protocol status of up. The interface has an IP address assigned, either through the ip address interface subcommand or by using DHCP client services. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 17

show ip route The show ip route command confirms an IP address is added a route to routing table. no ip subnet-zero command configured on a router, enable a router rejects any ip address command that uses an address/mask combination for the zero subnet. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 18

Static Routes Routers use three main methods to add routes to their routing tables: connected routes, static routes, and dynamic routing protocols. Routers always add connected routes when interfaces have IP addresses configured and the interfaces are up and working. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 19

Classful and Classless Routing Cisco routers have two configurable options for how a router uses an existing default route: classless routing and classful routing. Classless routing causes a router to use its default routes for any packet that does not match some other route. Classful routing places one restriction on when a router can use its default route, resulting in cases in which a router has a default route but the router chooses to discard a packet rather than forwarding the packet based on the default route. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 20

Comparing the Use of the Terms Classless and Classful As Applied To Classful Classless Addresses Addresses have three parts: network, subnet, and host. Addresses have two parts: subnet or prefix, and host. Routing protocols Routing protocol does not advertise masks nor support VLSM; RIP-1 and IGRP. Routing protocol does advertise masks and support VLSM; RIP-2, EIGRP, OSPF. Routing (forwarding) IP forwarding process is restricted in how it uses the default route. IP forwarding process has no restrictions on using the default route. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 21

Chapter 13 Analyzing Existing Subnets © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 4: Slide 22

Key pieces of information about the subnet: The subnet ID IP Packet Routing Key pieces of information about the subnet: The subnet ID The subnet broadcast address The subnet’s range of usable unicast IP addresses © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 23

Defining a Subnet An IP subnet is a subset of a classful network, created by choice of some network engineer. However, that engineer cannot pick just any arbitrary subset of addresses; instead, the engineer must follow certain rules, like the following: The subnet contains a set of consecutive numbers The subnet holds 2H numbers, where H is the number of host bits defined by the subnet mask Two special numbers in the range cannot be used as IP addresses: The first (lowest) number acts as an identifier for the subnet (subnet ID) The last (highest) number acts as a subnet broadcast address The remaining addresses, whose values sit between the subnet ID and subnet broadcast address, are used as unicast IP addresses © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 24

Address Structure: Class B Network, /18 Mask All four subnets will have the structure shown in the figure, so all four subnets will have 214 – 2 host addresses. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 25

Subnet ID Concepts A subnet ID is simply a number used to succinctly represent a subnet. When listed along with its matching subnet mask, the subnet ID identifies the subnet, and can be used to derive the subnet broadcast address and range of addresses in the subnet. Rather than having to write down all these details about a subnet, you simply need to write down the subnet ID and mask, and you have enough information to fully describe the subnet. The subnet ID appears in many places, but it is seen most often in IP routing tables. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 26

Summary of Subnet ID Key Facts Definition A number that represents the subnet Numeric value First (smallest) number in the subnet Literal synonyms Subnet number, subnet address, prefix, resident subnet Common-use synonyms Network, network ID, network number, network address Typically seen in… Routing tables, documentation © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 27

The Subnet Broadcast Address The subnet broadcast address has two main roles: to be used as a destination IP address for the purpose of sending packets to all hosts in the subnet, and as a means to find the high end of the range of addresses in a subnet. The original purpose for the subnet broadcast address was to give hosts a way to send one packet to all hosts in a subnet, and to do so efficiently. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 28

Binary Practice Problems To find the subnet ID using binary math. The following written process summarizes those steps in written form for easier reference and practice: Step 1. Convert the mask to prefix format to find the length of the prefix (/P) and the length of the host part (32 - P). Step 2. Convert the IP address to its 32-bit binary equivalent Step 3. Copy the prefix bits of the IP address Step 4. Write down 0s for the host bits Step 5. Convert the resulting 32-bit number, 8 bits at a time, back to decimal © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 29

Subnet Analysis for Address 8.1.4.5, Mask 255.255.0.0 Prefix Length /16 11111111 11111111 00000000 00000000 Address 8.1.4.5 00001000 00000001 00000100 00000101 Subnet ID 8.1.0.0 00001000 00000001 00000000 00000000 Broadcast Address 8.1.255.255 00001000 00000001 11111111 11111111 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 30

Practice Problem 1 Table 13-4 Subnet Analysis for Subnet with Address 130.4.102.1, Mask 255.255.255.0 Prefix Length /24 11111111 11111111 11111111 00000000 Address 130.4.102.1 10000010 00000100 01100110 00000001 Subnet ID 130.4.102.0 10000010 00000100 01100110 00000000 Broadcast Address 130.4.102.255 10000010 00000100 01100110 11111111 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 31

Practice Problem 2 Table 13-5 Subnet Analysis for Subnet with Address 199.1.1.100, Mask 255.255.255.0 Prefix Length /24 11111111 11111111 11111111 00000000 Address 199.1.1.100 11000111 00000001 00000001 01100100 Subnet ID 199.1.1.0 11000111 00000001 00000001 00000000 Broadcast Address 199.1.1.255 11000111 00000001 00000001 11111111 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 32

Practice Problem 3 Table 13-6 Subnet Analysis for Subnet with Address 130.4.102.1, Mask 255.255.252.0 Prefix Length /22 11111111 11111111 11111100 00000000 Address 130.4.102.1 10000010 00000100 01100110 00000001 Subnet ID 130.4.100.0 10000010 00000100 01100100 00000000 Broadcast Address 130.4.103.255 10000010 00000100 01100111 11111111 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 33

Practice Problem 4 Table 13-7 Subnet Analysis for Subnet with Address 199.1.1.100, Mask 255.255.255.224 Prefix Length /27 11111111 11111111 11111111 11100000 Address 199.1.1.100 11000111 00000001 00000001 01100100 Subnet ID 199.1.1.96 11000111 00000001 00000001 01100000 Broadcast Address 199.1.1.127 11000111 00000001 00000001 01111111 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 34

Analysis with Easy Masks With three easy subnet masks in particular, finding the subnet ID and subnet broadcast address requires only easy logic and literally no math. Three easy masks exist: Class A: 255.0.0.0 Class B: 255.255.0.0 Class C: 255.255.255.0 These easy masks have only 255 and 0 in decimal. In comparison, difficult masks have one octet that has neither a 255 nor a 0 in the mask, which makes the logic more challenging. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 35

Practice Problems: Find Subnet ID and Broadcast, Easy Masks IP Address Mask Subnet ID Broadcast Address 1 10.77.55.3 255.255.255.0 2 172.30.99.4 3 192.168.6.54 4 10.77.3.14 255.255.0.0 5 172.22.55.77 6 1.99.53.76 255.0.0.0 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 36

Reference Table: DDN Mask Values, Binary Equivalent, Magic Numbers, and Prefixes Prefix, interesting octet 2 /9 /10 /11 /12 /13 /14 /15 /16 Prefix, interesting octet 3 /17 /18 /19 /20 /21 /22 /23 /24 Prefix, interesting octet 4 /25 /26 /27 /28 /29 /30 Magic Number 128 64 32 16 8 4 2 1 DDN mask in the interesting octet 192 224 240 248 252 254 255 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 37

Break 10 Min. © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: : Unit 1: Slide 38

Chapter 14 Routing Protocol Concepts and RIP-2 Configuration © 2011 ITT Educational Services Inc. NT-2640 Advanced Networking: Unit 4: Slide 39

Routing Protocol Overview IP routing protocols have one primary goal: to fill the IP routing table with the current best routes it can find. The goal is simple, but the process and options can be complicated. Routing protocols help routers learn routes by having each router advertise the routes it knows. Each router begins by knowing only connected routes. Then, each router sends messages, defined by the routing protocol, that list the routes. When a router hears a routing update message from another router, the router hearing the update learns about the subnets and adds routes to its routing table. If all the routers participate, all the routers can learn about all subnets in an internetwork. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 40

RIP-2 Basic Concepts Routers using RIP-2 advertise a small amount of simple information about each subnet to their neighbors. Their neighbors in turn advertise the information to their neighbors, and so on, until all routers have learned the information. It works a lot like how rumors spread in a neighborhood, school, or company: You might be out in the yard, stop to talk to your next-door neighbor, and tell your neighbor the latest gossip. Then, that neighbor sees his other next-door neighbor, and tells them the same bit of gossip—and so on, until everyone in the neighborhood knows the latest gossip. Distance vector protocols work the same way, but hopefully, unlike rumors in a real neighborhood, the rumor has not changed by the time everyone has heard about it. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 41

Interior and Exterior Routing Protocols IP routing protocols fall into one of two major categories: Interior Gateway Protocol (IGP): A routing protocol that was designed and intended for use inside a single autonomous system Exterior Gateway Protocol (EGP): A routing protocol that was designed and intended for use between different autonomous systems © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 42

Routing Protocol Types/Algorithms Class/Algorithm IGPs Distance vector RIP-1, RIP-2, IGRP Link-state OSPF, Integrated IS-IS Balanced hybrid (also called advanced distance vector) EIGRP © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 43

Interior IP Routing Protocols Compared Feature RIP-1 RIP-2 EIGRP OSPF IS-IS Classless No Yes Supports VLSM Sends mask in update Distance vector No1 Link-state Supports autosummarization Supports manual summarization Proprietary Routing updates sent to a multicast IP address N/A Supports authentication Convergence Slow Very fast Fast © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 44

Class Exercise IP Subnetting II Small Group Exercise in class © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 45

Lab Activities. Complete Unit 4 Lab in class. All answers to overdue labs should be submitted in the next class. © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 46

Assignment Unit 4 assignment will be given in class. Reading Assignment: Read chapter 15 and 16 © 2011 ITT Educational Services Inc. NT-2640 Wan Technologies: Unit 4: Slide 47