The router will install both routes in the routing table and load balance between the two.
The details vary enormously from protocol to protocol, but the basics are the same for all of them. A stream of data is split into packets, the packet has a header which contains (amongst other things) the destination for the packet. The network uses the destination address to deliver the network to the correct destination.
routing protocol: helps to find the best path to transfer the packets from one network to diffrent network example: rip: routing information protocol igrp, ospf...... routed protocol: helps to carry the packets to the destination. example: smtp : transfer the mails ftp : transfer the files.
IP (Internet Protocol)
The network layer is the layer that is responsible for routing packets on the network. This is the layer in which Internet protocol operates. In the seven layer OSI model, the network layer is the third layer from the bottom.
To establish connectivity between two computers, TCP/IP Protocol finds the destination device & then slices information into small chunks called Packets. These packets are wrapped with some information which helps packet sail through number of intermediary devices to the destination. After reaching destination, packets are reassembled into data onto the End device.
destination network address
Destination network addresses: These indicate the network destinations that packets need to reach. Next hop addresses: These show the next router or gateway that packets should be forwarded to in order to reach the destination network. Routing metrics: These are used to determine the best path for forwarding packets, taking into account factors like hop count, bandwidth, and latency.
Packets
In a packet-switched data network, what is used to reassemble the packets in the correct order at the destination device?
It is a protocol which tries to find route from source to destination only on-demand...This type of protocols finds a route on demand by flooding the network with Route Request packets. The main disadvantages of such algorithms are:High latency time in route finding.Excessive flooding can lead to network clogging.
For WANs depending on the protocol the packets can be very different. For LANs, the ring topology insists on special packets proceeded by a "token".
Hop Count refers to the number of intermediary devices that data packets must pass through to reach their destination. It is commonly used in routing algorithms to determine the shortest path between source and destination nodes. Metrics, on the other hand, are quantitative measures used to evaluate network performance, such as latency, throughput, or packet loss. Hop Count can be a metric in itself, as it gives an indication of network efficiency and can impact overall performance.