Routing

Here we will discuss important questions from routing concepts.

= Routing Concepts =


 * In Classful addressing, Routing Table has 3 columns While in Classless addressing, at least 4 Columns are needed:- CIDR Mask, Network Address, Next hop address, Interface.


 * There is no MTU for Serial Interfaces

int fe 0/0 ip policy route map                #for transit traffic ip local policy route map          #for local generated traffic (e.g self telnet,ssh)
 * Applying Route Maps:-


 * Redistribution configuration is done in Destination protocol. To Redistribute OSPF routes to BGP, Configure BGP.


 * The longest prefix match always wins among the routes actually installed in the routing table, while the routing protocol with the lowest administrative distance always wins when installing routes into the routing table:

 Administrative distance - This is the measure of trustworthiness of the source of the route. If a router learns about a destination from more than one routing protocol, administrative distance is compared and the preference is given to the routes with lower administrative distance. Metrics - This is a measure used by the routing protocol to calculate the best path to a given destination, if it learns multiple paths to the same destination. Each routing protocol uses a different metric. Prefix length
 * The main considerations while building the routing table are:

 1st: Prefix-Length - Choose the route that has the longest prefix match. 2nd: Administrative Distance(between separate routing protocols) - Choose the route that has the lowest administrative distance. Administrative distance is a value a router uses to trust a route, if the route has multiple exits to the destined network. 3rd: Metric(within a routing protocol) - Choose the route that has the lowest metric.
 * To determine the best route to a destination, a router considers three elements (in this order):


 * AD of common routing protocols (lowest wins):

Ans) By using Static ARP entry.
 * If there is a more specific route available, How can you make the L3 device use the other route?

= Routing Protocol Classification =

Distance Vector
RIP EIGRP BGP (Adv Distance Vector or Path Vector)
 * Protocols:


 * Also called Rout ing by Rumour
 * Processor Efficient
 * Might be less accurate as they do not have full Topology information.

Link State Routing Protocol
IS-IS OSPF
 * Protocols:


 * Maintain 3 tables:
 * 1) Neighbor Table
 * 2) Topology Table
 * 3) Routing Table


 * References