Professional Documents
Culture Documents
Because of the extra administrative requirements, static routing does not have
the scalability of dynamic routing.
In most networks static routes are often used in conjunction with a dynamic
routing protocol.
1
Routing and Routed Protocols
Routing Protocols allow the routers to communicate with
other routers to update and maintain tables.
Examples:
RIP, IGRP, EIGRP and OSPF
2
Routing Protocols – Path Dertemination
Routing consists of two basic mechanisms:
1. Path Determination
Router uses the routing table to determine the best path.
2. Switching (forwarding)
Accept a packet on one interface and forward it to a second interface
3
Static Routes
Static routes between networks are manually configured by an administrator.
Static routes are added with the following command:
Router(config)# ip route 192.168.2.0 255.255.255.0 E0
4
Terms to Remember
default route
Routing table entry that is used to direct frames for which a next hop is not
explicitly listed in the routing table.
static route
A route that is explicitly configured and entered into the routing table. Static
routes take precedence over routes chosen by dynamic routing protocols.
hop
Term describing the passage of a data packet between two network nodes
(for example, between two routers). See also hop count.
hop count
Routing metric used to measure the distance between a source and a
destination. RIP uses hop count as its sole metric. See also hop and RIP.
5
Dynamic Routing – Distance Vector and Link-State
The success of dynamic routing depends on two basic router
functions:
1. Maintenance of a routing table
2. Timely distribution of knowledge, in the form of routing
updates, to other routers.
Dynamic routing relies on the routing protocol.
Routing Protocols can be Distant Vector or Link-State.
Hybrid protocols (like EIGRP) contain some elements of both.
Different routing protocols use different metrics to determine
the best route to a network.
Administrative Distances are used to rate the trustworthiness
of the various routing protocols.
6
Distance Vector Routing Protocols
The distance-vector routing algorithm passes complete routing
tables to neighbor routers.
The neighbor routers combine the received routing table with their
own routing tables.
RIP is a distance vector routing protocol:
Uses hop count as its metric
Each router the packet goes through is 1 hop
1 2 3 B
A
1 2
Configuration Example:
Router(config)# router rip
Router(config-router)# network 172.16.0.0
7
Link State Routing Protocols
Link-state routing algorithms (Shortest Path First algorithms),
maintain a complex database of topology information.
Link-state routing uses:
Link-state advertisements (LSAs)
A topological database
10
Autonomous Systems
AS is a collection of networks under a common administration
and sharing a common routing strategy.
ARIN, ISP, or an administrator assigns the 16 bit AS number.
IGRP, EIGRP and BGP require assignment of a unique AS
number.
ASs divide the global internetwork into smaller, more
manageable networks.
Each AS has its own set
of rules and policies.
AS 10
The AS number uniquely
distinguish it from other
ASs around the world.
AS 20
11