Beruflich Dokumente
Kultur Dokumente
Chapter 2
Static Routing
29 May 201
29 May 201
29 May 201
29 May 201
29 May 201
No route found
If the destination network is not in the routing table:
Use a default route if one exists
Otherwise drop the packet and send an ICMP (Internet
Control Message Protocol ) destination unreachable
message to the source host.
29 May 201
Show ip route
List of codes
List of routes
29 May 201
Routing table
Directly connected
Exit port
C
C
S
R
29 May 201
Routing table
Static route
C
C
Administrative
distance and metric
29 May 201
Address of next
hop router
Routing table
Dynamic route, RIP
C
C
S
R
Exit port
Network and mask
Administrative
distance and metric
29 May 201
Address of next
hop router
Time since
last update
Static routes
Dynamic routes
Entered by administrator
Time consuming,
different for each router
Must be updated if
routes change
Little processing
No bandwidth used
Routing protocols
Interior, used
within an
organisations
networks
Distance vector
RIP
(IGRP)
EIGRP
Exterior, used
between different
organisations
networks
Link state
OSPF
IS-IS
BGP
Metrics
A routing protocol may learn of several possible routes
to a destination.
It uses metrics to pick the best route.
RIP uses hop count as its only metric.
OSPF uses cost based on bandwidth.
EIGRP uses bandwidth and delay and can use load
and reliability as well.
Metrics
RIP uses hop count. It picks this
route as the best.
Administrative distance
Is the measure used by Cisco routers to select the best path when there
are two or more different routes to the same destination from two different
routing protocols
There may be more than one routing protocol running. There may also be
static routes.
Static routes have administrative distance 1 or 0 by default.
RIP routes have administrative distance 120
OSPF routes have administrative distance 110
The route with the lowest administrative distance goes in the routing table
Stub network
Static route
networks
Default route
Cross-over
Straight through used to connect:
-Switch-to-Router, Switch-to-PC, Router-to-Server, Hub-toPC, Hub-to-Server
Cross-over used to connect:
-Switch-to-Switch, PC-to-PC, Switch-to-Hub, Hub-to-Hub,
Router-to-Router
IP route command
To configure a static route use the following command: ip route
Example:
-Router(config)# ip route network-address subnet-mask {ipaddress | exit-interface }