Introduction

Welcome to Cisco's IP Routing Primer! This book covers the generic behavior of IP routing and packet forwarding using Cisco routers. It goes into detailed analysis of several real-life scenarios to provide insight into the fundamentals of IP that everybody supporting IP in a network should know.

By providing examples taken directly from Cisco routers, this book enables the reader to associate theoretical behaviors discussed in many internetworking books with their real-life counterparts. The reader should find it much easier to understand statements such as "Split horizon refers to the concept of not advertising routes over the interface they were learned from …" when it is accompanied by actual screen output from a Cisco router as it sends a routing table update to an adjacent router.

By providing examples of IP routing behaviors taken directly from Cisco routers, this book avoids theoretical explanations that can vary from one networking engineer to another. Ask any 10 network engineers what a poison reverse update is, and you will likely receive 10 different answers. Refer to the section on Poison Reverse and Triggered Updates in Chapter 2 for a real-life example you can apply to any situation.

Objective of This Book

This book was written to fill the gap between internetworking books that are long on theory but short on practice and the high-level seminars on internetworking that cover real-life examples but lack depth. After reading this book, the reader should have a better understanding of the complexities involved in designing and supporting IP networks.

By presenting a few of the most common issues that can be encountered in managing an IP network, I hope to pique your curiosity to learn more by going into a networking lab and experimenting on your own.

Another goal of this book is to convey the idea that to be a successful internetworking engineer, it is more important to understand what needs to happen in a given situation to make something work than to memorize exactly what happens. For example, you can memorize the fact that before an IP host can send its first IP packet to another host, it must send an ARP request and receive an ARP reply. But what have you really learned? If you don't understand that the IP host was resolving a layer three address to a layer two address to avoid broadcasting all layer two frames to all hosts on the network, you haven't grasped a fundamental part of what makes an IP network work.

In addition, this book teaches some fundamental skills that anyone involved in internetworking should possess, such as binary and hexadecimal numbering and IP subnetting. It is almost impossible to be a successful network engineer if you do not have these skills mastered.

Keep in mind that this book is not intended to be an in-depth analysis of the individual routing protocols presented. This information is readily available in many other books, RFCs, and white papers. The goal is to present the behaviors exhibited by a couple of routing protocols (RIP and IGRP) to set the stage for reading and understanding the material available from other sources.

In addition, this book is not intended to be a design and implementation guide for building IP networks. Instead, it is meant to be a guide to issues that must be addressed when building IP networks. It gives readers a better idea of which questions to ask and which problems need to be solved when building their own networks.

Audience

This book is intended for anybody involved in supporting or designing IP networks—engineers, support personnel, and the like. It covers many basic internetworking concepts that people just starting out need to understand. It goes into great detail on some very sophisticated topics that even those with several years of experience supporting IP networks will find interesting.

Conventions Used in This Book

The routers in the topology and configuration section may appear in different topologies throughout this book. With the exception of removing some links in certain examples, the actual configurations do not change from those shown unless specifically noted.

Router commands referenced in paragraphs are in lowercase and italics, for example, show ip route.

Screen output from routers is presented in a monospaced font. For example:


RouterA#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
       U - per-user static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

     168.71.0.0/16 is subnetted, 5 subnets
C      168.71.9.0 is directly connected, Serial1
R      168.71.8.0 [120/1] via 168.71.9.2, 00:00:39, Serial1
R      168.71.7.0 [120/1] via 168.71.6.2, 00:00:11, Serial0
            [120/1] via 168.71.9.2, 00:00:39, Serial1
C      168.71.6.0 is directly connected, Serial0
C      168.71.5.0 is directly connected, Ethernet0
S*   0.0.0.0/0 is directly connected, Ethernet0
RouterA#

Occasionally, a specific portion of the screen output is referenced by the surrounding text. In these cases, the output in question will be in bold.

For example, note that the update timer for 168.71.8.0 in the following output of the show ip route command from RouterA is now 39 seconds.

RouterA#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
   U - per-user static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

      168.71.0.0/16 is subnetted, 5 subnets
C     168.71.9.0 is directly connected, Serial1
R     168.71.8.0 [120/1] via 168.71.9.2, 00:00:39, Serial1
R     168.71.7.0 [120/1] via 168.71.6.2, 00:00:11, Serial0
           [120/1] via 168.71.9.2, 00:00:39, Serial1
C     168.71.6.0 is directly connected, Serial0
C     168.71.5.0 is directly connected, Ethernet0
S*  0.0.0.0/0 is directly connected, Ethernet0
RouterA#

In addition, this book utilizes two other conventions:

Note

Margin notes—These are used to add additional points of interest to the reader without disrupting the flow of the main ideas presented.


HINT

Margin hints—These can be troubleshooting tips or additional procedures that are relevant to the current subject matter.


Organization

This book is divided into eight chapters and one appendix, as follows:

  • Chapter 1, "Topology and Router Configurations"

    This chapter presents the routers and their configurations, which will form the basis of the scenarios presented in this book. It also introduces some of the basic functions of a router and some of the problems a router must solve to do its job successfully.

  • Chapter 2, "Routing Metrics and Distances"

    This chapter explains what routing metrics are and how they can be calculated. It also describes Cisco's utilization of the distance function to determine which routing protocols take precedence when they run concurrently.

  • Chapter 3, "Discontiguous Networks, Summarization, and Subnet 0"

    This chapter explains what the terms discontiguous networks, summarization, and subnet 0 mean and how they interact in a live network. It also includes scenarios in which functions have been used incorrectly to show the problems they can cause.

  • Chapter 4, "Using IP Unnumbered and VLSM"

    This chapter describes IP unnumbered and Variable Length Subnet Masking (VLSM) and explains how they can be used as tools when building IP networks. It also includes scenarios in which these functions have been used incorrectly to show the problems they can cause.

  • Chapter 5, "Default Routing"

    This chapter explains what default routing is and why it is necessary. Several scenarios are provided to show how default routing works and what can happen when it is not configured properly.

  • Chapter 6, "IP Troubleshooting Scenarios"

    This chapter walks through common IP connectivity problems and introduces some tools and techniques to resolve them.

  • Chapter 7, "Bridging IP Between Dissimilar Media"

    Many network engineers have made the mistake of attempting to bridge IP between Token Ring and Ethernet using Cisco routers. Cisco routers do not support this function. This chapter explains why this is the case.

  • Chapter 8, "Hexadecimal and Binary Numbering and IP Addressing"

    This chapter describes the two numbering systems and explains why it is important to have mastered using them. It also covers IP addressing and subnetting.

  • Appendix A, "RFCs"

    This chapter includes all of the RFCs referenced in this book, as well as a few that are useful for people just getting started in internetworking. In addition, there are several references to RFCs on more advanced topics.

It is recommended that you start with Chapter 1 because the concepts build on one another as the book progresses. Welcome again to Cisco's IP Routing Primer!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.0.240