Professional Documents
Culture Documents
UNIT III
D2CSN, DIT, JNEC
RUB
IP Routing
Outline
• Routing Basic
• IP Routing Process
• Internal Routing Process
• Testing Your Routing Process
• Configuring IP Routing Network
• Static Routing
• Default Routing
• Dynamic Routing
• Dynamic Routing
• Routing Protocol Basics
• Routing Information Protocol (RIP)
• Configuring RIP Routing
• Holding Down RIP Propagations
IP Routing
Routing Basic
• Minimum factors a router must know to be able to affectively
route packets:
• Destination Address
• Neighbor routers from which it can learn about the remote network
• Possible routes to all remote networks
• The best route to each remote network
• How to maintain and verify routing information
IP Routing
IP Routing Process
• IP Routing Process
• IP Routing Process
IP Routing
Internal Routing Process
• Cisco uses three types of package-forwarding techniques.
• Process Switching
• Fast Switching
• Cisco Express Forwarding
IP Routing
Internal Routing Process…
• Process Switching
• Is responsible for inspecting every packet by the processor
• It was the original packet switching mechanism on Cisco router
• Is processor intensive, more complex and longer latency
• Involves looking up every destination in the routing table and finding
the exit steps.
IP Routing
Internal Routing Process…
• Fast Switching
• the first packet to a destination is process switched but subsequent
packets are forwarded using the information stored in the fast cache.
IP Routing
Internal Routing Process…
• Cisco Express Forwarding
IP Routing
Testing Your IP Routing
• Testing Your IP Routing
IP Routing
Configuring IP Routing in Network
• Static Route
• Default Route
• Dynamic Route
IP Routing
Static Routing
• A static route is created,
maintained, and updated
by a network
administrator, manually.
• A static route to every
network must be
configured on every
router for full connectivity.
IP Routing
IP Routing
• Why Use Static Routing?
• Static routing provides some advantages over dynamic routing, including:
Static routes are not advertised over the network, resulting in better security.
Routers not share static routes with each other, thus reducing CPU/RAM overhead and
saving bandwidth.
No bandwidth usage between routers, saving money on WAN links.
• Static routing has the following disadvantages:
Initial configuration and maintenance is time-consuming.
Configuration is error-prone, especially in large networks.
Administrator intervention is required to maintain changing route information.
Does not scale well with growing networks; maintenance becomes cumbersome.
Requires complete knowledge of the whole network for proper implementation.
IP Routing
• When to use Static Route?
Static routing has three primary uses:
Small networks:
Providing ease of routing table maintenance in smaller networks that are
not expected to grow significantly.
Default route:
Using a single default route to represent a path to any network that does
not have a more specific match with another route in the routing table.
Default routes are used to send traffic to any destination beyond the next
upstream router.
Routing to and from stub networks.
A stub network is a network accessed by a single route, and the router
has no other neighbors (only one router).
IP Routing
IP Routing
• Syntax for adding the static route
• Interior routing
• Routing inside an autonomous system
• Each AS can chose its own interior routing protocol
• Examples: RIP and OSPF
• Exterior routing
• Routing between autonomous systems
• Only one exterior routing protocol is usually used for exterior
routing
• Examples: BGP
IP Routing
IP Routing
IP Routing
Dynamic Routing
• Administrative Distance
• Administrative distance (AD) is the trustworthiness of routing update
received from a neighbor router.
• If a router receives two routing updates for same path from two
different routing protocols then router will check the AD value to choose
the best path.
• AD is a numeric value from 0 to 255.
• If one update has lower AD value than other, then the route with the
lowest AD will be placed in the routing table
IP Routing
• Default AD
Route source Default AD value
Direct connected interface 0
Static route 1
EIGRP 90
IGRP 100
OSPF 110
RIP 120
External EIGRP 170
Unknown 255
Lower AD value is more believable by router. 0 is considered as the most trustworthiness network while 255 is considered as
invalid route and it will be never used.
IP Routing
Dynamic Routing
• Metric
• If two routing updates for same network have same AD value then
metric will use to choose the best path.
• Metric is a measurement to calculate best path.
• Route with the lowest metric will be chosen.
• Different routing protocols use different metrics.
• It may use single metric or multiple metrics.
• For example EIGRP uses bandwidth, delay, load, MTU and reliability
while RIP only uses hop count as metric.
IP Routing
Routing Protocol Metric Description
EIGRP Bandwidth Capacity of link in Kbps
EIGRP Delay Time to reach in destination
EIGRP Load Path that is least utilize
EIGRP MTU Path that support largest frame
size
It uses broadcast for routing update. It use multicast for routing update.
It only supports classful routing. It supports both classful and classless routing.
Q&A
IP Routing