Professional Documents
Culture Documents
INSTITUTE OF TECHNOLOGY
DEPARTMENT OF INFORMATION TECHNOLOGY
• Building an optimal path on a network to reach its destination (in which static and dynamic
routing take place).
• Balancing load.
Types of Routing:
• Static routing
• Default routing
• Dynamic routing
Dynamic Routing
Dynamic routing may be defined as a form of IP routing process where the routing tables are
updated and modified automatically without the manual intervention of the network administrator.
Dynamic Routing uses various routing protocols to process the routing between the nodes. Routing
protocols are a set of complex algorithms and is used to calculate the best and the shortest path
from source to destination to forward the packets.
Dynamic routing is known as a technique of finding the best path for the data to travel over a
network in this process a router can transmit data through various different routes and reach its
destination on the basis of conditions at that time of communication circuits.
1 |Page
Characteristics of Dynamic Routing
Some of the characteristics of dynamic routing are:
Advantages
• Shares information about the network with each other makes them more reliable to work
efficiently.
Disadvantages
2 |Page
Type of dynamic routing
3 |Page
information to its immediate neighbor router.
RIP uses a distance vector algorithm to decide which path to put a packet on to get to its
destination. Each RIP router maintains a routing table, which is a list of all the destinations the
router knows how to reach. Each router broadcasts its entire routing table to its closest neighbors
every 30 seconds. In this context, neighbors are the other routers to which a router is connected
directly -- that is, the other routers on the same network segments as the selected router. The
neighbors, in turn, pass the information on to their nearest neighbors, and so on, until all RIP hosts
within the network have the same knowledge of routing paths. This shared knowledge is known
as convergence.
IGRP is a proprietary protocol. IGRP was created in part to overcome the limitations of RIP
(maximum hop count of only 15, and a single routing metric) when used within large networks.
IGRP supports multiple metrics for each route, including bandwidth, delay, load, and reliability;
to compare two routes these metrics are combined into a single metric, using a formula which can
be adjusted through the use of pre-set constants. By default, the IGRP composite metric is a sum
of the segment delays and the lowest segment bandwidth. The maximum configurable hop count
of IGRP-routed packets is 255 (default 100), and routing updates are broadcast every 90 seconds
(by default).[1] IGRP uses protocol number 9 for communication.[2]
IGRP is considered a classful routing protocol. Because the protocol has no field for a subnet mask,
the router assumes that all subnetwork addresses within the same Class A, Class B, or Class C
4 |Page
network have the same subnet mask as the subnet mask configured for the interfaces in question.
This contrasts with classless routing protocols that can use variable length subnet masks. Classful
protocols have become less popular as they are wasteful of IP address space.
Unlike some other routing protocols, IGRP doesn't perform incremental updates. Instead, it sends
the whole routing table to its neighbors during updates. However, IGRP only sends updates when
there is a change in the network topology or metrics, which reduces unnecessary network traffic.
In link-state routing, each router retrieves information about itself, its directly connected link, and
the state of that link. This information is passed from router to router, without changing the entire
routing information of the adjacent router.
Each router makes only a copy of the information received from its neighbor. Thus, every router
has identical information and can independently calculate its best path for forwarding packets from
source to destination.
Although link-state is more complex than distance-vector, however, it is more reliable and
minimizes the shortcomings of distance vector routing.
OSPF gathers link state information from available routers and constructs a topology map of the
network. The topology is presented as a routing table to the internet layer for routing packets by
their destination IP address. OSPF supports Internet Protocol version 4 (IPv4) and Internet
Protocol version 6 (IPv6) networks and is widely used in large enterprise networks. IS-IS, another
5 |Page
LSR-based protocol, is more common in large service provider networks.
Originally designed in the 1980s, OSPF version 2 is defined in RFC 2328 (1998).[3] The updates
for IPv6 are specified as OSPF version 3 in RFC 5340 (2008).[4] OSPF supports the Classless
Inter-Domain Routing (CIDR) addressing model.
OSPF detects changes in the topology, such as link failures, and converges on a new loop-free
routing structure within seconds. [5] The OSPF routing policies for constructing a route table are
governed by link metrics associated with each routing interface. Cost factors may be the distance
of a router (round-trip time), data throughput of a link, or link availability and reliability, expressed
as simple unitless numbers. This provides a dynamic process of traffic load balancing between
routes of equal cost.
ISIS uses a hierarchical structure to organize routing information within a network. The network
is divided into areas, and each area has its own ISIS routers. Routers within the same area exchange
routing information using Link-State Protocol Data Units (LSPs) to build a complete picture of the
network topology. ISIS routers then calculate the shortest path to reach each network by
constructing a shortest path tree.
ISIS has several features that contribute to its scalability and stability. One such feature is the
support for multiple levels of hierarchy, which allows the partitioning of a large network into
smaller areas, reducing the complexity of flooding and computation. Additionally, ISIS supports
both IP and non-IP protocols, making it versatile for various network environments.
Overall, ISIS is a robust and widely deployed routing protocol used in large-scale networks to
ensure efficient packet forwarding and optimal routing decisions.
6 |Page
Hybrid Routing
It is a combination of both distance vector and link-state routing. Basically, hybrid routing is
considered to be the advanced distance-vector, however, it also contains some of the features of
the link-state routing protocol.
An example of a hybrid routing protocol is EIGRP. Enhanced Interior Gateway Routing Protocol
has the features of both the distance vector and the link-state routing. It does not send Link state
advertisement, but it sends traditional distance vector routing information to the neighbor router.
It synchronizes with the routing updates of the neighbor router. After that, it sends a specific link-
state update to its neighbor.
EIGRP uses DUAL (Diffusing Update Algorithm) for routing calculations. Periodic Updates are
not used but if a change occurs in the network like up/down links, update messages are sent.
With DUAL Algorithm, Topology table is built. In Topology Table both the Best Routes and the
Backup Routes to a destination are stored. This provides, a Fast Convergence characteristic, a Fast
Convergence Mechanisms.
The most important characteristic of this routing protocol is that, it is a Fast Converged Routing
Protocol. Enhanced Interior Gateway Routing Protocol keeps the “Backup Routes” beside the
“Best Route” to a destination in the Topology table. So, during a failure, it does not need to
calculate a new route. Instead, it uses the Backup Route towards the destination.
EIGRP uses different types of messages to build neighborship, to keep the connection and for the
updates. These main messages are:
Hello,Update,Query,Reply
7 |Page
2 Switching protocol
In computer networking, Switching is the process of transferring data packets from one device
to another in a network, or from one network to another, using specific devices called switches.
A computer user experiences switching all the time for example, accessing the Internet from
your computer device, whenever a user requests a webpage to open, the request is processed
through switching of data packets only.
Switching takes place at the Data Link layer of the OSI Model. This means that after the
generation of data packets in the Physical Layer, switching is the immediate next process in data
communication. In this article, we shall discuss different processes involved in switching, what
kind of hardware is used in switching, etc.
Spanning Tree Protocol (STP) is a Layer 2 network protocol used to prevent looping within a
network topology. STP was created to avoid the problems that arise when computers exchange
data on a local area network (LAN) that contains redundant paths. If the flow of traffic is not
carefully monitored and controlled, the data can be caught in a loop that circles around network
segments, affecting performance and bringing traffic to a near halt.
Networks are often configured with redundant paths when connecting network segments.
Although redundancy can help protect against disaster, it can also lead to bridge or switch
looping. Looping occurs when data travels from a source to a destination along redundant paths
and the data begins to circle around the same paths, becoming amplified and resulting in a
broadcast storm.
STP can help prevent bridge looping on LANs that include redundant links. Without STP, it would
be difficult to implement that redundancy and still avoid network looping. STP monitors all
network links, identifies redundant connections and disables the ports that can lead to looping.
STP is the spanning tree algorithm that runs on each STP-enabled bridge. The algorithm was
specifically designed to avoid bridge loops when redundant paths exist. It uses the BPDUs to
8 |Page
identify redundant links and select the best data path for forwarding messages. The algorithm also
controls packet forwarding by setting the port state.
When STP is enabled on a network bridge, each port is set to one of five states to control frame
forwarding:
1. Disabled. The port does not participate in frame forwarding or STP operations.
2. Blocking. The port does not participate in frame forwarding and discards frames received
from the attached network segment. However, the port continues to listen for and process
BPDUs.
3. Listening. From the blocking state, the port transitions to the listening state. The port
discards frames from the attached network segment or forwarded from another port.
However, it receives BPDUs and redirects them to the switch module for processing.
4. Learning. The port moves from the listening state to the learning state. It listens for and
processes BPDUs but discards frames from the attached network segment or forwarded
from another port. It also starts updating the address table with the information it's learned.
In addition, it processes user frames but does not forward those frames.
5. Forwarding. The port moves from the learning state to the forwarding state and starts
forwarding frames across the network segments. This includes frames from the attached
network segment and those forwarded from another port. The port also continues to
receive and process BPDUs, and the address table continues to be updated.
STP moves from the blocking state through the forwarding state in relatively short order, usually
between 15 to 20 seconds for each state. Every port starts in the blocking state. If it's been disabled,
the port enters directly into the blocking state upon being enabled. STP balances the states across
ports to avoid bridge looping, while still making redundancy possible.
9 |Page
reference
[1] Cisco Systems Configuring IGRP
[2]"Assigned Internet Protocol Numbers". Internet Assigned Numbers Authority (IANA). Retrieved 18
June 2013.
[3] J. Moy (April 1998). OSPF Version 2. Network Working Group. doi:10.17487/RFC2328. STD 54. RFC
2328. Internet Standard 54. Obsoletes RFC 2178. Updated by RFC 5709, 6549, 6845, 6860, 7474 and 8042.
[4]R. Coltun; D. Ferguson; J. Moy (July 2008). A. Lindem (ed.). OSPF for IPv6. Network Working Group.
doi:10.17487/RFC5340. RFC 5340. Proposed Standard. Obsoletes RFC 2740. Updated by RFC 6845, 6860,
8362, 7503 and 9454
10 | P a g e