Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Part of the :
Master of Networking and Systems Administration
Master of Management (IT)
• Routing is the process of sending packets
from one network to another network.
• Key term is network!
• In order to route between networks routers
build routing tables
– Destination networks and subnet masks
– Next Hop to each network
– Metrics & Administrative Distances (AD)
• Routing Table relates to 2 different types of
protocols which sound the same
– Routing Protocols : a protocol that dynamically
helps the router to build the routing & topology
tables e.g. EIGRP, OSPF, BGP4
– Routed Protocols : A Layer 3 protocol that
applies logical addresses to devices and routes
data between networks e.g. IPv4, IPv6, IPX
• To decide on the best route to any given
destination a router considers the
following 3 things in order :
– Prefix-length
– Metric
– Administrative Distance
• Prefix-Length is the number of bits used to
identify the network portion of the
destination address and is used to
determine the most specific route. The
longer the prefix-length the more specific
the route.
e.g. packet destined for 10.1.5.2/24 will match
more specifically with “10.1.5.0/24” than
“10.0.0.0/8”
• Metric allows a router to choose the best
path within a routing protocol
– Hop-count or cost are two common metrics
– Routes with the best metric are placed into the
routing table
• Administrative Distance is used to decide
which routing protocol is more trustworthy
– That is it determines routes between routing
protocols
• AD = trustworthiness of a routing protocol
• Lowest metric, or AD, always wins and
results in that route being inserted into
the routing table
• Routes with an AD of “unknown” will
never be placed into the routing table
• Routers connect
networks together.
• One-to-one
relationship
between interfaces
and subnets.
• Routers learn routes via static routes and
dynamic routing protocols.
• Routers use routing tables to determine
the best path to send packets.
• Routers encapsulate the packet and
forward it out the best interface based on
the routing table.
Best path is selected by a routing protocol based on the value or metric
it uses to determine the distance to reach a network:
A metric is the value used to measure the distance to a given
network.
Best path to a network is the path with the lowest metric.
Dynamic routing protocols use their own rules and metrics to build and
update routing tables:
Routing Information Protocol (RIP) - Hop count
Open Shortest Path First (OSPF) - Cost based on cumulative
bandwidth from source to destination
Enhanced Interior Gateway Routing Protocol (EIGRP) - Bandwidth,
delay, load, reliability
When a router has two or more paths to a destination with equal cost metrics,
then the router forwards the packets using both paths equally:
• Equal cost load balancing can improve network performance.
• Equal cost load balancing can be configured to use both dynamic routing
protocols and static routes.
• RIP, OSPF and EIGRP support equal cost load balancing.
If multiple paths to a destination are configured on a router, the path
installed in the routing table is the one with the lowest Administrative
Distance (AD):
• A static route with an AD of 1 is more reliable than an EIGRP-
discovered route with an AD of 90.
• A directly connected route with an AD of 0 is more reliable than a
static route with an AD of 1.
A routing table is a file stored in RAM that contains information about:
Directly connected routes
Remote routes
Network or next hop associations
The show ip route command is used to display the
contents of the routing table:
• Local route interfaces - Added to the routing table
when an interface is configured. (displayed in IOS 15
or newer)
• Directly connected interfaces - Added to the routing
table when an interface is configured and active.
• Static routes - Added when a route is manually
configured and the exit interface is active.
• Dynamic routing protocol - Added when EIGRP or
OSPF are implemented and networks are identified.
Static routes and default static routes can be implemented after
directly connected interfaces are added to the routing table:
• Static routes are manually configured
• They define an explicit path between two networking devices.
• Static routes must be manually updated if the topology changes.
• Their benefits include improved security and control of resources.
• A default static route is used when the routing table does not contain
a path for a destination network.
• Configure a default static route using the command:
• Infrastructure Services
– Describe DNS lookup operation
– Troubleshoot client connectivity issues involving DNS
– Configure and verify DHCP on a router (excluding static reservations)
– Troubleshoot client- and router-based DHCP connectivity issues
– Configure, verify, and troubleshoot basic HSRP
– Configure, verify, and troubleshoot inside source NAT
– Configure and verify NTP operating in a client/server mode