Professional Documents
Culture Documents
Day 9 Routing
Day 9 Routing
Routing
• The process that a router uses to forward packets
toward the destination network.
• A router makes this decision based on the destination
IP address
• If dynamic routing is used, routers have to learn
routes from other routers.
• If static routing is used, the administrator configures
this information into the router manually
– So, you might say that updates to a routing table
are made by the administrator.
Configuring Static Routes
with Outgoing Interface
Outgoing
interface
Administrative
distance of 1 -
default
Configuring Static Routes
with Next-hop IP Address
Next hop
interface
Administrative
distance of 1 -
default
Configuring Static Routes
• An administrator actually enters static routes into the routing
table.
• That makes them static route entries – because the router is
not “discovering” those routes.
• If for some reason that outgoing interface goes down or is not
available for some reason, then at that time the route will be
removed from the routing table.
S1 192.168.2.2/24 S1 192.168.4.2/24
show interfaces
show interface s0
show interface s1
show ip interface brief
Routed VS. Routing
• Routed protocols
are protocols that
are routed over an
Internetwork (IP,
AppleTalk, IPX)
• Routing protocols
use algorithms to
route routed
protocols through
the Internetwork
(RIP, IGRP, OSPF)
Neighbor to
neighbor
ONLY
Distance Vector Routing
Topology Changes (distance vector)