Archive for station wagon

Giving Some STATIC (Routes, that Is!)

Posted in Cisco Certification with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on June 13, 2012 by jjrinehart

The Original Static Route!

Last time we talked about the IPv4 routing table and how the information populates it in the first place, starting with directly connected routes.  The fact that interfaces with these routes have to be up and functioning to be in the table at all makes them inherently “believable” (the term used to describe routes).  Routes in the IPv4 routing table from this source are marked with a C (connected) and easily recognizable.

That brings us to the topic of static routes, which may evoke images of lightning (see above), or walking across a carpeted room and sending a shock to someone just for fun.  Certainly the word static is used in those contexts, but in this case it simply means fixed or stationary, and refers to the fact that these routes stay permanently in the routing table.  You might think that this sounds like a description of connected routes too, but in reality it means that the routes are manually configured by a network administrator.

You can think of static routes in terms of the large concrete barricades that separate the sides of traffic on the highway.  First, they stay in one place, they do not move, even when an object may strike them with some degree of force.  Static routes remain in the table once configured and do not simply vanish when things are taking place from a routing perspective.  Second, these barriers unforgivingly separate traffic, just as static routes continually direct traffic to their intended destination.  Finally, these concrete dividers are actually put there by highway workers, they do not simply magically appear, just as static routes have to be placed manually in the router’s configuration.

The configuration of a static is remarkably straightforward and uncomplicated, using the following syntax:

ip route <destination-prefix> <subnet-mask> <next-hop-address | exit-interface> [<distance>]

The destination prefix is a subnet and/or network using standard decimal notation (e.g., 192.168.2.0), followed by a subnet mask, just as you probably have seen and used numerous times in your networking job and/or studies.  The next part is critical to understand, as you have options you need to consider.  You can choose simply to specify the outgoing interface, or you can specify the IPv4 address of the device you want to send the traffic to (typically directly connected).  In either case, if the interface is down and/or the next hop is unreachable, the route will not appear in the table.  The optional distance command allows you to specify the administrative distance, which we will cover next time!

– Joe

Road Trip, the Sequel! (aka, Introduction to IP Routing II)

Posted in Cisco Certification with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on June 4, 2012 by jjrinehart

Cross Country RV Trip

Continuing the theme of road trips, my wife Brenda, our son Josh and daughter-in law Liz, and two dogs got into our thirty-one foot RV and headed across the country, not metaphorically, but literally. The real part of the adventure actually happened before the trip when I decided to do the brakes myself. We had been given a $3-6000 estimate on doing that at a professional garage, and after I came to, I decided that was far too spendy and would do the job myself. Have you ever launched into something and then halfway through decided it was a stupid idea? It took almost forever, and even though I have done brakes before, it’s a much greater challenge on a vehicle that enormous. I would probably do it all over again, but with a lot more trepidation.

Our “navigator map guy” was a team of my son and wife, who plotted out the route of travel, keeping our two-week timeframe squarely in the middle of the calculations. To their credit (they did a lot of the driving as well), we stayed fairly close to our plan all along the way. There were a variety of factors that they had to keep in mind:

All of those added together formed the basis of the various routes we needed to take to get all the way across the country step by step. Our plan was written out, with the details needed to get to the next step of the journey.

 

In the world of IPV4 routing, we call this the ip routing table. Just like the vacation driving plan, there are several critical pieces of the table:

The “means by which the route is chosen” needs further expansion, since it describes how the route was learned and ended up in the table to begin with.  There are three primary means why which routes are installed in the ip routing table:

Directly Connected Routes are those that “live” on the device itself, usually a router.  These routes come from functioning interfaces with IPV4 addresses learned by DHCP or manually configured.  This makes them the most reliable and believable routes on the device.

Next time, we will dig into static routes

–          Joe

Leave a comment »

Road Trip! (aka, Introduction to IP Routing I)

Posted in Cisco Certification with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on May 31, 2012 by jjrinehart

Route Sign

As you may recall from the very first entries on this blog, networking is all about communication—getting information from one location to another.  IPV4 packets carry that data from a source address to a destination address and all, but how does the process know how to get there in the first place?  The simple version of the answer is just IP routing!  Routing is the process of figuring out the best path to travel between any two given points in the journey.

To explain this a little bit, let me describe how I remember family vacations when I was a kid.  My Dad would load up the station wagon (yes, the nerdiest possible vehicle in history, I know), load us all inside, and then head out on the road.  My father was not the typical “Red Foreman” dad (in case you don’t remember, he was the colorful character from That 70’s Show).  My Dad is an engineer, and approaches everything with a carefully calculated plan by which to succeed, without much tolerance for variance.  Out would come the map, and he would move through and figure out the safest, most efficient path of travel, all before we ever actually got out on the road.

In a nutshell, that’s almost the same exact process that network devices (routers) use to figure out how to send data from the source to the destination.  When there are multiple possible ways to get there, a process is used to determine the most efficient manner to get from end to end.  Each part of the journey involves various networks, addresses, interfaces and media, not unlike the various highways and access roads used on a long-distance road trip.  And no, none of the small packets in the back seat keep asking “Are we there yet” over and over!

Each segment of the “trip” of an IP packet is managed by a Layer 3 routing device, typically a router or Layer 3 switch.  These devices maintain a list of networks it can reach, and by which exit point from the device (interface) it uses to reach those.  Once the packet leaves that device, it becomes the responsibility of the next one in the chain, which uses a similar process (route lookup) to send traffic on to the next part of the journey.  Once it reaches the destination, the process is repeated for return traffic, just as a road trip usually involves heading back to the point of origin.

Next time, we will take a look at the various methods used for specifically accomplishing the forwarding process.

–          Joe

1 Comment »