Escolar Documentos
Profissional Documentos
Cultura Documentos
Routing
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 5
Routing Components
Routing
Routing Table
Source source of routing information
C connected R - RIP
Subnet/Mask define the IP address of a network or a subnet Out Int outgoing interface, informs router which interface to send the packets Next-Hop next-hop router, address of the router where the packets need to be forwarded
CT046-3-3 Network Troubleshooting Routing 7
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
Routing
18
Dynamic Routing
constructs routing tables automatically based on information by routing protocols. dominates the Internet.
Routing
19
Routing
20
Routing
21
Routing Protocol
specifies how routers communicate select routes between any two nodes router has a prior 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
Referred as network protocols. transported by routing protocols across an internetwork. perform a variety of functions required for communication between user applications in source and destination devices occur at the upper five layers of the OSI reference model: i. network layer ii. transport layer iii. session layer iv. presentation layer v. application layer.
Routing 24
DECnet
AppleTalk
Novell NetWare
CT046-3-3 Network Troubleshooting
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
Interior Gateway Protocols (IGPs) exchange routing-information within a single autonomous system.
Used between routers of same autonomous systems (AS).
Used between routers of different autonomous systems (AS). ASN numbering are controlled globally by IANA (Internet Assigned Numbers Authority)
Routing 29
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.
CT046-3-3 Network Troubleshooting Routing 33
Distance Vector
maintain a database of network topology information send its entire routing table to each of its adjacent neighbors. router does not know the exact topology of an internetwork. Why?
Can only see its neighboring routers
CT046-3-3 Network Troubleshooting Routing 34
Distance Vector
Routing Protocol Connected Interface Distance Vector 0
Static Route
IGRP OSPF RIP Unknown
CT046-3-3 Network Troubleshooting Routing
1
100 110 120 255
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/Dijkstra Algorithms flood routing information to all routers in the internetwork that creates a map of the entire network.
assemble all the information to calculate the shortest path routes and builds routing tables showing the best path Once converged, send update packets, which contain only changes rather than whole routing table. Update packets are passed across the network in eventtriggered updates
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
These paths form a tree with the local router as its root.
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
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
Topological database collection of information (data structure) gathered from LSAs. SPF algorithm calculation performed on the database resulting in the SPF tree. Routing tables A list of the known paths and interfaces.
Routing
42
Link State
Routing
43
Routing
44
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 protocol used router's distance from the point of change number of routers in the network Bandwidth and traffic load on communications links router's load Traffic patterns in relation to the topology change
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 Per-interface feature, limits the route sent on the interface. Does not send the routing updates to the original route. Upon learning of a failed route, advertise a poisoned route, suspending the split horizon rules. Sends an immediate update(without waiting for the periodic update) when theres a failed route. Sets a timer to confirm the failed route. A route advertised with infinite metric.
Routing 57
Next Session
Troubleshooting Approach
Connectivity Problems Performance Problems Systematic Troubleshooting Method Troubleshooting Process Selecting a Troubleshooting Approach
Routing
58