Chapter 8 - IP Routing Flashcards
Describe the basic IP routing process.
You need to remember that the frame changes at each hop but that the packet is never changed or manipulated in any way until it reaches the destination device (the TTL field in the IP header is decremented for each hop, but that’s it!).
List the information required by a router to successfully route packets.
To be able to route packets, a router must know, at a minimum, the destination address, the location of neighboring routers through which it can reach remote networks, possible routes to all remote networks, the best route to each remote network, and how to maintain and verify routing information.
Describe how MAC addresses are used during the routing process.
A MAC (hardware) address will only be used on a local LAN. It will never pass a router’s interface. A frame uses MAC (hardware) addresses to send a packet on a LAN. The frame will take the packet to either a host on the LAN or a router’s interface (if the packet is destined for a remote network). As packets move from one router to another, the MAC addresses used will change, but normally the original source and destination IP addresses within the packet will not.
View and interpret the routing table of a router.
Use the show ip route command to view the routing table. Each route will be listed along with the source of the routing information. A C to the left of the route will indicate directly connected routes, and other letters next to the route can also indicate a particular routing protocol that provided the information, such as, for example, R for RIP.
Differentiate the three types of routing.
The three types of routing are static (in which routes are manually configured at the CLI), dynamic (in which the routers share routing information via a routing protocol), and default routing (in which a special route is configured for all traffic without a more specific destination network found in the table).
Compare and contrast static and dynamic routing.
Static routing creates no routing update traffic and creates less overhead on the router and network links, but it must be configured manually and does not have the ability to react to link outages. Dynamic routing creates routing update traffic and uses more overhead on the router and network links.
Configure static routes at the CLI.
The command syntax to add a route is: ip route [destination_network] [mask] [next-hop_address or exitinterface] [administrative_distance] [permanent].
Create a default route.
To add a default route, use the command syntax: ip route 0.0.0.0 0.0.0.0 ip-address or exit interface type and number.
Understand administrative distance and its role in the selection of the best route.
Administrative distance (AD) is used to rate the trustworthiness of routing information received on a router from a neighbor router. Administrative distance is an integer from 0 to 255, where 0 is the most trusted and 255 means no traffic will be passed via this route. All routing protocols are assigned a default AD, but it can be changed at the CLI.
Differentiate distance-vector, link-state and hybrid routing protocols.
Distance-vector routing protocols make routing decisions based on hop count (think RIP), while link-state routing protocols are able to consider multiple factors such as bandwidth available and building a topology table. Hybrid routing protocols exhibit characteristics of both types.
Configure RIP routing.
To configure RIP routing, first you must be in global configuration mode and then you type the command router rip. Then you add all directly connected networks, making sure to use the classful address and the version 2 command and to disable auto-summarization.
At the appropriate command prompt, create a static route to network 172.16.10.0/ 24 with a next-hop gateway of 172.16.20.1 and an administrative distance of 150.
router (config) #ip route 172.16.10.0 255.255.255.0 172.16.20.1 150
When a PC sends a packet to another PC in a remote network, what destination addresses will be in the frame that it sends to its default gateway?
It will use the gateway interface MAC at L2 and the actual destination IP at L3.
At the appropriate command prompt, create a default route to 172.16.40.1.
router (config)# ip route 0.0.0.0 0.0.0.0 172.16.40.1
On which type of network is a default route most beneficial?
Stub network