Whenever data is communicated and transferred over a network, it has to be made sure that the data chooses the most appropriate and feasible path. There are a number of things which need to be considered in this case. For example the length of each path, the duration which the data packet will take travelling on the path, the avoidance of any congestion on the network etc. All of these problems are catered through the process of Routing and Switching. There are many modern and traditional techniques which are used to carry out the task of Routing and Switching. These processes make sure that the network runs smoothly and does not have to deal with any problem or hindrance.
EIGRP is the abbreviation of Enhanced Interior Gateway Routing Protocol. EIGRP is a Cisco propriety protocol which has been made to operate on Cisco routers and switches. It can work on small, medium and large level networks as well with efficiency. In its metric calculation, EIGRP makes use of bandwidth and delay. However, it can also use load, reliability and maximum transmission unit (MTU) for this purpose. The technicality of EIGRP allows it to be termed as and advanced distance-vector routing protocol as well as a hybrid routing protocol. EIGRP ensures the smooth flow of the network by gathering information from its surroundings and providing the perfect route for transmission. Moreover, EIGRP also carries out the task of storing all the information regarding the topologies of all the networks. However, the only limitation faced by EIGRP is that it only works with routers and switches which have been made by Cisco.
OSPF is the abbreviation of Open Shortest Path First. The basic purpose performed by OSPF is to find the shortest path to a destination on a network to make sure that the element of cost in the process in minimum. OSPF is basically a link-state routing protocol which is most commonly used nowadays. It also comes under the category of "open" protocols. It uses a very intelligent way to carry out its purpose. It gathers the information from all the routers in the surrounding areas to make sure that data chooses the smallest path to be transmitted from one place to the other. It can effectively manage the bandwidth of the network and can easily operate on complex networks.
RIP is known as Routing Information Protocol. There are basically two versions of this protocol, RIP v1 and RIP v2, although the RIP version 2 is the one which is used today. It is a distance-vector routing protocol in general. In order to make sure that the traffic on the network is minimal, the multicast method is used for the transmission of messages. Hence, this enables the network bandwidth to be used effectively as well. This routing protocol can also support complex networks to make sure that they run smoothly. However, RIP makes use of a Hop count metric, with a maximum of 15 hops. This is the reason why it is not suitable enough to be used in the modern networks which come with varied speeds which it cannot cater to.
Link State Protocols store all the information regarding each router on a network in their memory. Routers which make use of Link State Protocols have got a map of the whole network in their memory which they use to determine the position of data and select the shortest and the most appropriate path for it. Link State Advertisements (LSAs) are sent to each router on the network using a link state protocol. These LSAs make sure that each router knows the exact location of other routers on the network. This information on each router is updated on frequent intervals, although the intervals are not as much frequent as Distance Vector protocols. The most commonly known Link State Protocols are IS-IS and OSPF.
Distance Vector protocols are those which make use of two factors to determine the position of other routers on the network. They figure the distance between each router and their direction from each other to draw a complete map in their memory. In a Distance-Vector protocol, each router communicates directly with the other ones on the network on regular intervals to get the information. This is achieved by each router sending its routing table to other routers on the network. The most commonly known Distance- Vector Protocol is RIP.
Hybrid Protocols are those ones which make use of two different protocols to decide the route of transmission. In this regard, a Hybrid routing protocol uses both Distance-Vector Protocol and Link-State protocol to make the routing decision. In fact, Hybrid routing protocols are the most common nowadays. The most renowned Hybrid Protocol is EIGRP, Enhanced Interior Gateway Routing Protocol.
Dynamic Routing consists of the constant updating of the routing tables according to the position of each router. If there is any change in the position, direction or any other attribute of the router, Dynamic Routing will enable the routing table to be updated automatically. Some common example of Dynamic Routing protocols are EIGRP, RIPv2 and OSPF.
Static Routing requires the user to manually update the routing table. This means that if there is any change in the topology of the network, it will have to be entered manually in the routing table. However, this process is susceptible to human errors while entering or calculating the data. Still, sometimes it is useful to make use of the process of Static Routing, for example when you are looking forward to enhancing the security of the network.
Routing Metric basically refers to the data which is used by a routing protocol to make decisions regarding the route of data. In this case, better Routing Networks allow the protocols to make more informed and intelligent decisions which also prove to be quiet beneficial for the networks. There are generally four different kinds of Routing metric.
Hop Counts: A Hop is referred to as a process in which data passes through two routers and enters into another network. This means that each time data enters into a new network, a hop count will be registered. Hop counts are basically used by RIP and RIPv2 protocols. This transition from one network to another is usually referred to as a Node. However, do keep in mind that a particular network will be out of reach if the hop count goes to infinity.
MTU, Bandwidth: MTU is known as the Maximum Transmission Unit. It shows the largest single packet of data which has successfully been transferred through the network. However, it does not play a significant role in the calculation of the shortest route for the data. It is generally used by EIGRP but has become quite obsolete now.