Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CT046-3-3
Routing
Routing Components
Types of Routing
Routing Protocol
Routing Loops
Routing
Learning Outcomes
To understand the concepts of routing and
routing protocol
To understand the concepts distance
vector and link state routing protocol
Routing
Routing
Process of moving information (packet) across
an internetwork from a source to a destination.
Process of selecting paths in a network along
which to send data or physical traffic.
Routing directs forwarding, the passing of
logically addressed packets from their source to
destination through intermediary nodes
Routing
Routing
Performed by a router.
Refers to routing tables which maintain a
record of the routes to various network
destinations.
Routing is a key feature of the Internet
enables messages to pass from one
computer to another
Analyzes a routing table to determine the
best path.
CT046-3-3 Network Troubleshooting
Routing
Routing Components
Routing
Routing Table
Source source of routing information
C connected
R - RIP
Routing
Routing Table
Routing
Routing Table
Routing
Connected Routes
Subnets to which the routers interface are
connected is known as connected routes
Automatically added to routers routing
table
Routing
10
Types of Routing
Static routing
Route is entered by the network administrator.
Dynamic Routing
Route is built automatically by the routing
protocol
follow rules defined by a routing protocol
independently select the best path.
Routing
11
Static Routing
Static routing describes a system that does not
implement adaptive routing. .
fixed paths
constructs the routing table in every router
putting in the entries for every network that could
be a destination.
Static routes are unchangeable.
Routing
12
Static Routes
added to the routing table using a command
Static routes can be used when: Small internetwork which seldom change and has no
redundant link
Router need to dial backup to call other router when a
leased line is down
Small branch offices where each can be reached with
only one possible path
Forward packets to hosts in Internet and not to the
enterprise network.
Routing
13
Static Routing
Static route operations can be divided into :
Network administrator configures the route
Router installs the route in the routing table
The static route is used to route packets.
use the ip route command to manually
configure a static route.
The administrative distance is an optional
parameter that indicates the reliability of a route.
Routing
14
Administrative Distance
A lower value indicates a more reliable route.
A route with a lower administrative distance will be
installed before a similar route with a higher
administrative distance.
Default administrative distance of a static route is
1.
In routing table, static route with the outgoing
interface option as directly connected.
Routing
15
Default Route
to forward packets that do not match any
other routes in the routing table
no default route; discard the packet
other router must have either a route to
that destination or its own default route
One of the routers should have a route to
the destination.
Routing
16
No Bandwidth Utilization
No updating each other with static routes
Secure Operation
Less vulnerable to attack as dont accept updates
Dont send updates to untrusted source
Predictability
Administrator precisely control paths selection
Routing
17
No adaptability
Not fault tolerant
When there is a change in the network or a failure occurs between two
statically defined nodes, traffic will not be rerouted.
packets will have to wait for the failure to be repaired or the static route
to be updated by the administrator before being transmitted.
Most requests will time out (ultimately failing) before these repairs can
be made.
Routing
18
Dynamic Routing
constructs routing tables automatically
based on information by routing protocols.
dominates the Internet.
Routing
19
Routing
20
Disadvantages of Dynamic
Routing
High bandwidth utilization
Send and receive routing updates
Slow performance
Routing
21
Routing Protocol
specifies how routers communicate
select routes between any two nodes
router has a priori knowledge only about
its immediate neighbors.
shares this information for knowledge of
the network topology
operates at Layer 3 of the OSI model
defined in documents called RFC
CT046-3-3 Network Troubleshooting
Routing
22
Routing
23
Routed Protocols
Routing
24
Routing Protocols
DECnet
AppleTalk
Novell NetWare
Routing
25
Routing Protocol
The router uses two basic functions:
path determination function
switching function
Routing
26
Routing
27
Switching Function
the internal process of a router
accept a packet on one interface and
forward it to a second interface on the
same router.
A key responsibility
to encapsulate packets in the appropriate
frame type for the next data link.
Routing
28
Routing Protocol
Routing
29
Intermediate System to
Intermediate System (IS-IS)
Interior Gateway Routing
Protocol (IGRP)
Enhanced IGRP (EIGRP)
Routing
30
IGP vs EGP
Routing
31
Link-state
Routing tables are broadcast at startup and
then only when they change
OSPF uses link-state
Routing
32
Distance Vector
known as Bellman-Ford algorithm.
passes periodic copies of a routing table
regular updates between routers communicate topology
changes.
perform routing decisions based on the information by
neighboring routers.
based on the distance (number of hops) and vector (direction)
Before sending an update, each router adds its own distance
value to the route's metric.
When a router receives an update, it maps the learned
network to the receiving interface.
The router then uses that interface to reach those
destinations.
Routing
33
Distance Vector
Routing
34
Distance Vector
Routing Protocol
Distance Vector
Connected Interface
Static Route
IGRP
100
OSPF
110
RIP
120
Unknown
255
Routing
35
Distance Vector
Send full periodic routing updates
Update includes a list of subnets and the
distances in metric
Routers do not know the network topology
except the neighboring routers
If theres multiple routes, chooses the best
route which has the lowest metric
Routing
36
Distance Vector
Distance vector are classful routing protocols
do not send subnet information in updates
do not support scalability features such as Variable
Length Subnet Masking (VLSM) or supernetting.
converge slowly compared to link-state protocols not
suitable for complex and scalable internetworks
Eg: RIP restricts networks from growing beyond 15 hops
IGRP supports a 255-hop maximum
But IGRP is a Cisco-proprietary protocol, cannot support
a multi-vendor routing environment
CT046-3-3 Network Troubleshooting
Routing
37
Routing
38
Link State
Link-state algorithms
Uses Shortest Path First (SPF) algorithms/Djikstra
Algorithms
flood routing information to all routers in the internetwork
that creates a map of the entire network.
Routing
39
Link State
builds a complete database of all the link states
router gathers enough information to create the
network map
Each router individually runs the SPF algorithm
on its link-state database
to identify the best paths
Routing
40
Link State
advertise the states of their links to all other
routers in the area
When a network link changes state, a
notification called a link-state advertisement
(LSA) is flooded throughout the network.
All the routers note the change and adjust their
routes accordingly.
Also has periodic reflooding of LSA but longer
interval time
more reliable, easier to debug, and less
bandwidth-intensive
CT046-3-3 Network Troubleshooting
Routing
41
Link State
Link-state advertisements (LSAs) routing information
that is sent between routers.
Router LSA identifies router ID, router interfaces IP
addresses, status (up or down) of each interface, cost
(metric) associated with each interface
Link LSA identifies each subnet and routers that are
attached to that subnet
Routing
42
Link State
Routing
43
Routing
44
Processor overhead
Memory requirements
Bandwidth Consumption
Complex administration
Routing
45
Link State
Open Shortest Path First (OSPF)
Intermediate System to Intermediate
System (IS-IS)
Routing
46
Convergence
collaborative and independent process
Even though the routers share information but must
calculate routing table on their own.
To have accurate table, routers should have common
view of the network's topology.
When all routers agree on the topology, they have
converged.
Rapid convergence means rapid recovery from link
failure or other network changes.
Routing protocols are judged by how quickly they
converge.
CT046-3-3 Network Troubleshooting
Routing
47
Convergence
When converging process happens, the
network is susceptible to routing problems.
When a link is down but routers are
unaware, individual tables will be
contradictory and routing problems
Routing problems such as
dropped packets
routing loop
CT046-3-3 Network Troubleshooting
Routing
48
Convergence
Factors affecting convergence time:
Routing
49
Routing Loops
occurs when the routers forward packets
which ends up back at the same router.
Routing
50
Routing
51
Routing
52
Routing
53
Routing
54
Routing
55
Routing
56
Summary
Split Horizon
Poison
Reverse
Triggered
Update
Holddown
Timers
Poison Route
Routing
57
Next Session
Troubleshooting Approach
Connectivity Problems
Performance Problems
Systematic Troubleshooting Method
Troubleshooting Process
Selecting a Troubleshooting Approach
Routing
58