Ass Sawaibah
Ass Sawaibah
Ass Sawaibah
PROGRAM: BSSE
SEMESTER: 4 TH
SECTION: U
DATE:15TH DECEMBER,2023
70131348
WHAT IS ROUTING?
Routing is the process of moving information from a source to a destination
across the internetwork. Typically, at least one intermediary node is
encountered along the path. Routing takes place at Layer 3 (the network
layer) of the OSI model. Typically, networks employ a combination of static
and dynamic routing. Static routing is preferable for small networks, whereas
dynamic routing is ideal for large networks.
The Routing Information System (RIP) was first defined in RFC 1058 as a first-
generation routing protocol for IPv4. RIP is a distance-vector routing protocol
that uses the metric hop count. RIP is straightforward to configure, making it
an excellent option for small networks.
RIPv1 possesses the following qualities:
RIP updates are contained in a UDP segment with both the source and
destination ports set to UDP port 520.
The IPv6-enabled version of RIP was introduced in 1997. RIPng is an
extension of RIPv2 restricted to 15 hops, the administrative distance is 120.
This hop count limitation renders RIP unsuitable for larger networks.
Open Shortest Path First (OSPF) is the most prevalent link-state routing
protocol. The OSPF Working Group of the Internet Engineering Task Force
(IETF) designed it. OSPF development began in 1987, and there are currently
two active versions:
OSPFv2: OSPF for IPv4 networks (RFC 1247 and RFC 2328)
OSPFv3: OSPFv3 is the IPv6 version of OSPF (RFC 2740)
OSPFv3 now supports both IPv4 and IPv6 thanks to the Address Families
functionality.
OSPF implements the link state routing algorithm and is utilized in medium-
to large-sized networks. OSPF is an intradomain routing protocol that only
operates within a specific routing domain. OSPF is also a hierarchical routing
protocol that may be used in a single autonomous system. OSPF emerged from
the intermediate-system-to-system (IS-IS) routing protocol of the Open
Systems Interconnection (OSI) reference model. OSPF enables multipath
routing and uses one or more routing metrics, including dependability,
bandwidth, latency, load, and maximum transmission unit (MTU). If OSPF
utilizes many metrics, it also allows type-of-service (TOS) requests for traffic
differentiation.
OSPF, is a link-state, interior gateway, and classless protocol that uses the
shortest path first (SPF) algorithm to ensure efficient data transmission.
Internally, this type maintains numerous databases containing topology tables
and network-wide information. Typically, the data is derived from link state
advertising transmitted by individual routers. The advertising, which
resembles reports, provides thorough details of the path's length and the
resources that may be necessary.
OSPF utilizes the Dijkstra algorithm to recalculate paths when topology
changes occur. It also employs authentication procedures to maintain the
security of its data throughout network modifications and intrusions. Due to
its scalability, OSPF may be advantageous for both small and large network
enterprises.
The Exterior Gateway Protocol (EGP) was a routing protocol used to connect
autonomous systems on the Internet from the mid-1980s to the mid-1990s
when it was replaced by the Border Gateway Protocol (BGP). EGP was created
by Bolt, Beranek, and Newman in the early 1980s. It was first mentioned in
RFC 827 and stated formally in RFC 904. RFC 1772 outlined an EGP to BGP
migration path. EGP does not utilize routing metrics; instead, it merely tracks
which networks are currently accessible via a given router.
Included in the routing table for the EGP protocol are:
EGP maintains network databases close to one another to route the various
paths data may travel to reach its destination. The databases then distribute
the information to the connected routers so that all routers' tables are current.
The updated routing tables can assist in determining the optimal data route.
This protocol has gone out of favor since it cannot operate in multipath
networking situations. The EGP protocol functions by maintaining a database
of neighboring networks and the possible routing pathways to reach them.
These route details are transmitted to connected routers. Once it comes, the
devices can update their routing tables and select network paths based on
more accurate information.
Adjacent IP addresses
Router designation
Path distance
Origin type
The BGP Best Path Selection Algorithm is utilized to determine the optimal
paths for data packet transfers. If no special parameters have been configured,
BGP will select routes with the shortest path to the destination.
BGP enables administrators to modify transfer routes based on their
requirements and provides extensive security measures to ensure that only
authorized routers can exchange data and information. The algorithm for
selecting the optimal route path can be modified by modifying the BGP cost
community attribute. BGP is able to make routing decisions based on factors
including weight, local preference, locally generated, AS Path length, origin
type, multi-exit discriminator, eBGP over iBGP, IGP metric, router ID, cluster
list, and neighbor IP address.
BGP only transmits updated routing table data when a change occurs.
Therefore, there is no auto-discovery of topology changes, and the user must
manually set up BGP. Regarding security, the BGP protocol can be verified so
that only authorized routers can exchange data.
BGP was chosen over OSPF because BGP allows device designers and owners
greater flexibility and control than OSPF. BGP processes include options for
which routes should be broadcast and which alerts the device will accept. It
provides extra options for route choosing. This allows us greater flexibility to
avoid overloading specific lines that OSPF would automatically presume to be
the fastest path.
The data networks we use to learn, play and work in our daily lives ranging
from small, local networks to enormous, global networks. Multiple routers
and switches may serve the data connectivity needs of hundreds or thousands
of PCs within an enterprise.
Routing protocols enable routers to dynamically share information about
external networks and add it to their routing tables. Routers forward packets
using the routing table's information. The router can discover routes to
faraway networks in two ways: statically and dynamically. The optimal route
to each network is determined by routing protocols.
There are instances in which a routing protocol discovers many routes to the
same destination. For the routing protocol to select the optimal path, it must
be able to analyze and differentiate amongst the available paths. This is
achieved with the use of routing metrics.