Bellman Ford Algorithm - in Routing Information Protocol (RIP)
Bellman Ford Algorithm - in Routing Information Protocol (RIP)
Abstract. In a large scale network need a routing that can handle a lot number of users, one of
the solutions to cope with large scale network is by using a routing protocol, There are 2 types
of routing protocol that is static and dynamic, Static routing is manually route input based on
network admin, while dynamic routing is automatically route input formed based on existing
network. Dynamic routing is efficient used to network extensively because of the input of route
automatic formed, Routing Information Protocol (RIP) is one of dynamic routing that uses the
bellman-ford algorithm where this algorithm will search for the best path that traversed the
network by leveraging the value of each link, so with the bellman-ford algorithm owned by
RIP can optimize existing networks.
1. Introduction
Needs of people by use the technology gradually increasing so that it is reasonably necessary to the
development of technology enhanced. Almost all of this technology is now using the internet access as
communication media, good internet access and efficient can increase performance of the system that
used the technology. For time efficiency and workmanship at the time of application usage on the
network then need an optimal network performance. Network with large scale is usually between one
and the other are not directly connected, but it went through some other network devices. A good
design and architecture is necessary in anticipation of problems that may occur when the network
traffic is solid. In heavy of network traffic may need to data packets can reach the destination by using
the best line from every kind of path. Bellman-Ford algorithm is one of the best routes search
algorithm utilizing the value of each existing link, this algorithm is used in routing protocol RIP,
metric is hop i.e. value of each router are in her past. Routing Information Protocol (RIP) is a dynamic
routing protocol where the entry route will automatically be formed if there are new routers that are
not yet known. Routers connected usingRouting Information Protocol (RIP) will not suffered a
looping because one of the links will be used as a backup link. By using the Bellman-Ford algorithm,
then the best path that will be going through the package data will be achieved so that it can optimize
existing networks
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
ISSN: 1978-1520
2. Review of literature
2
IJCCS ISSN: 1978-1520
traffic in a network and can search for the best path for each of the data points in the network. Each
Routing protocol has an entry route i.e. database storage route that will pass, entry route lies in the
routing table that lists ip address all of the objectives that can it traversed.[4]
A Routing Protocol is divided into two, Static routing and Dynamic routing. Static routing is the
process of connecting two or more different network with entry routes manually input, While the
dynamic route process connects two or more different network where entry routes in the routing table
is formed automatically.
There are several types of routing protocol, including:
1. Routing Information Protocol (RIP)
2. Interior Gateway Routing Protocol (IGRP)
3. Enhanced Interior Gateway Routing Protocol (EIGRP)
4. Open Shortest Path Firs (OSPF)
5. Intermediate System-to-Intermediate System (IS-IS)
6. Border Gateway Protocol (BGP)
Routing Information Protocol or collectively RIP is the routing protocol with dynamic types using the
bellman-ford algorithm for searching shortest path. Metric of the RIP is using hop count i.e the
number of routers that kind. Every router that is passed then the hop count will be calculated 1. In the
RIP, the vertex is router, edge is the link, and weight of edge is the number of hop count from each
track path. the number of Count hops that can be traversed routing protocol RIP is 15. [5][6]
3. Design of network
This research will use the 2 network topology, the first topology is trials for the bellman-ford
algorithm and the second topology is a test for the Routing Information Protocol (RIP). Figure 3 and
table 1 is the topology and addressing table for testing the network by using the Routing Information
Protocol (RIP). Trials will be carried out by means of simulation, simulation program used is cisco
packet tracer.
Title of manuscript is short and clear, implies research results (First Author)
ISSN: 1978-1520
Table 1. Addressing.
Device Interface IP address Subnet Mask Default
Gateway
R1 Fa 0/0 10.10.10.1 255.255.255.252 N/A
Fa 0/1 192.168.1.254 255.255.255.0 N/A
Fa 1/0 10.10.30.1 255.255.255.252 N/A
R2 Fa 0/0 10.10.10.2 255.255.255.252 N/A
Fa 0/1 10.10.20.1 255.255.255.252 N/A
R3 Fa 0/0 10.10.20.2 255.255.255.252 N/A
Fa 0/1 172.16.10.254 255.255.255.0 N/A
Fa 1/0 10.10.50.2 255.255.255.252 N/A
R4 Fa 0/0 10.10.30.2 255.255.255.252 N/A
Fa 0/1 10.10.40.1 255.255.255.252 N/A
R5 Fa 0/0 10.10.40.2 255.255.255.252 N/A
Fa 0/1 10.10.50.1 255.255.255.252 N/A
PC0 NIC 192.168.1.1 255.255.255.0 192.168.1.254
PC1 NIC 172.16.10.1 255.255.255.0 172.16.10.254
4
IJCCS ISSN: 1978-1520
Relax (u,v):
If v.d > u.d + w (u,v)
v.d = u.d + w (u,v)
v.p = u
ITERATION I
Relax (u,v):
2.d> 1.d + w (1,2)
∞> 0 + 10
TRUE
v.d = 2.d = 0 + 10 = 10
v.p = 2.p = 0
1 2 3 1 2 3
D 0 10 ∞ P - 0 -
Calculate the edge1 – 3
u.d = 1.d = 0
v.d = 3.d = ∞
w (u,v) = w (1,3) = 5
Relax (u,v):
3.d> 1.d + w (1,3)
∞> 0 + 5
TRUE
v.d = 3.d = 0 + 5 = 5
v.p = 3.p = 0
Title of manuscript is short and clear, implies research results (First Author)
ISSN: 1978-1520
Relax (u,v):
1.d> 2.d + w (2,1)
0 > 10 + -3
ELSE
Next Edge
Relax (u,v):
2.d> 3.d + w (3,2)
10 > 5 + 2 = 7
TRUE
v.d =2.d = 5 + 2 = 7
v.p = 2.p = 5
1 2 3 1 2 3
D 0 7 5 p - 5 0
ITERATION II
Calculate the Edge 1 – 2
u.d = 1.d = 0
v.d = 2.d = 7
w (u,v) = w (1,2) = 10
Relax (u,v):
1.d> 2.d + w (2,1)
0 > 17
FALSE
Relax (u,v):
6
IJCCS ISSN: 1978-1520
Relax (u,v):
1.d> 2.d + w (2,1)
0 > 7 + -3
FALSE
Next Edge
Relax (u,v):
2.d> 3.d + w (3,2)
7> 5 + 2 = 7
FALSE
Final result :
1 2 3 1 2 3
d 0 7 5 p - 5 0
Shortest path traveled from vertex 1 to other vertex is weighting value 5 and 2.
Title of manuscript is short and clear, implies research results (First Author)
ISSN: 1978-1520
The image of R1, R2, R3, R4 and R5 as the vertex and each link (edge) have metric i.e. hop count on
RIP is the weights value from each edge.
Reference
[1] S. Tayeb and S. Latifi, "An Evaluative Analysis of DUAL, SPF, and Bellman-Ford," Journal of
Software Networking, pp. 1-22, 2017
8
IJCCS ISSN: 1978-1520
Title of manuscript is short and clear, implies research results (First Author)