Professional Documents
Culture Documents
Aug 2010
Routing
Routing vs Routed
Routing Process/Steps
Classful vs Classless
Types of Routing
Static Route
Default Route
Summary of RIP
Summary of OSPF
• Routed protocols
are protocols that
are routed over an
Internetwork (IP,
AppleTalk, IPX)
• Routing protocols
use algorithms to
route routed
protocols through
the Internetwork
(RIP, IGRP, OSPF)
192.168.1.56
6A-5F-0D-09-8B-AA
The physical
192.168.1.56 address (MAC)
BC-48-03-8F-FF-AA
changes at each
hop.
CONFIDENTIAL© Copyright 2008 Tech Mahindra Limited 6
IP ROUTING OVERVIEW
Host A Host B
Applications Applications
IP IP IP IP
Neighbor to
neighbor
ONLY
Protocol Technique
RIP Distance Vector
RIPv2 Distance Vector
EIGRP Distance Vector
OSPF Link State
IS-IS Link State
BGP Path Vector
The Internet has been classless for years and the vast
majority of enterprise networks are classless.
RIPv1 Classful
RIPv2 Classless
EIGRP Classless
OSPF Classless
IS-IS Classless
BGP Classless
Default Routing
Static Routing
Dynamic Routing
y It uses routing protocols to find the networks
Outgoing
interface
Administrative
distance of 1 -
default
Next hop
interface
Administrative
distance of 1 -
default
S1 192.168.2.2/24 S1 192.168.4.2/24
R R
IGP IGP
R EGP R
R R
Autonomous System C
R
IGP
Internet
R
Protocol Proprietary
RIP No
RIPv2 No
EIGRP Yes
OSPF No
IS-IS No
BGP No
4
8/10/2010 2
Introduction to RIP
RIPv1 doesn’t receive the multi cast RIPv2 packets. Send &
receive RIPv1 packet
CONFIDENTIAL© Copyright 2008 Tech Mahindra Limited 45
RIPv2
RIPv2 is classless routing
RIPv2 supports CIDR/VLSM
RIPv2 send the update using multicasting address
(224.0.0.9)
Subnet mask carried with each route entry
Number of bytes
1 Command
1 Version
2 Reserved • Command Either Request or Response
2 Address family ID • Version – Always 1 for RIP v1
2 Reserved • AFI – Address Family Identifier
4 IP Address
Identifies routing information for
which type of network
4 Reserved • IP Address – The network for which
4 Reserved this entry is sent
4 Metric • Metric – The distance to this network
from the sender
1 Command
1 Version
2 Reserved
2 Address family ID
2 Route tag/Authentication type
4 IP Address
4 Subnet Mask
4 Next Hop
4 Metric
If the route has been invalid for this time, flush it (remove)
from the routing table.
Slow convergence
Routing Loops