The Network Layer of the OSI Model is responsible for providing logical addressing, which routers use to select best path for routing packets. There are two types of packets used at this layer :
- Data Packets –
The user data is transferred in the inter-network by these data packets. Routed protocols are those protocols which support such data traffic. Examples of routed protocols are IPv4, IPv6 and AppleTalk.
- Route Update Packets –
The information about the networks connected to all the routers is updated to the neighbouring routers through route update packets. Routing protocols are the ones that are responsible for sending them. Examples of routing protocols are RIP(Routing Information Protocol), EIGRP(Enhanced Interior Gateway Routing Protocol) and OSPF(Open Shortest Path First).
Now let’s take an real-life analogy to better understand the difference between routed and routing protocols.
Suppose you want to go to your home after your semester examinations. You book a cab or take a bus to your home. In the path of your journey, you encounter several sign boards which help you take proper or best path, or in case of a cab, Google Maps will help you in choosing the best route.
In this analogy, consider yourself as the DATA, the bus or cab as the ROUTED PROTOCOL and the sign boards or the GPS installed in your driver’s phone as the ROUTING PROTOCOL.
Similarly, in a network routers use routing protocols to determine the best path for a packet to travel through the inter-network more efficiently. Routed protocols are assigned to an interface and determine the method of delivering the packet.
Now, lets move on to the different types of routing protocols.
IGP – Interior Gateway Protocol
EGP – Exterior Gateway Protocol
RIP – Routing Information Protocol
IGRP – Interior Gateway Routing Protocol
OSPF – Open Shortest Path First
ISIS – Intermediate System to Intermediate System
EIGRP – Enhanced Interior Gateway Routing Protocol
BGP – Border Gateway Protocol
This article is contributed by Achiv Chauhan. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
- Multiple Access Protocols in Computer Network
- Collision-Free Protocols in Computer Network
- Controlled Access Protocols in Computer Network
- Classes of Routing Protocols
- Securing Routing Protocols
- Types of Virtual Private Network (VPN) and its Protocols
- Basic Network Attacks in Computer Network
- Difference between Distance vector routing and Link State routing
- Unicast Routing - Link State Routing
- Difference between Classful Routing and Classless Routing
- Servers in Computer Network
- Functionality of Computer Network
- Unicode in Computer Network
- Redistribution in Computer Network
- Elements of Computer Network