What layer do the different routing protocols (OSPF, ISIS, EIGRP and RIP) operate on? I am asking this question because to me it seems like besides BGP which operates on the application layer, we can’t pin point the layer the other routing protocols operate at.
Do they operate on the network layer? Wikipedia says RIP operates on the application layer and OSPF operates on the internet layer of the internet protocol suite. Is this correct and if so, can anyone please explain how RIP is an application layer protocol.
Also is it logical to try to determine what OSI layer these routing protocols operate on? Or do we just conclude that the OSI is just a guide and some of these protocols were created before the OSI model was designed so it is unreasonable to try to determine the layers they operate on?
Well... How does each one look? (And keep in mind that you'll get different answers from different people about where they "operate")
RIP = UDP port 520 (L4 or L7?)
OSPF = IP protocol 89 (L3)
EIGRP = IP protocol 88 (L3)
IS-IS = CLNS protocol (L2)
All in all, it's kinda silly. Because we'd say that RIP and BGP have a L4 header, but obviously have application information on top. Even though OSPF and EIGRP do NOT have an L4 header, there's still "application information". Does that make it L7?
Hey Gods Son
Both BGP and RIP are application layer protocols using TCP 179 and UDP 520 respectively for communication. OSPF and EIGRP are network layer protocols using protocol number 89 and 88 respectively for communication. If you were to enable rip on a router, capture and inspect the updates as they leave or arrive, you will get a better understanding as to why rip is an application layer protocol. Hope that helps see file attached.
I don't think it is that straightforward. Many consider BGP an application that happens to affect the routing table. Most people consider RIP, EIGRP, and OSPF routing protocols. There are also those that would consider BGP a routing protocol as opposed to an application that affects the routing table. I will say that BGP is much closer to being an application than the others, in my opinion. Now there is code attached to sockets in the case of all four of these examples. Does that mean they should all be considered applications? You are correct in that that EIGRP and OSPF run directly on top of IP. So if you look at it in a sniffer, you see an IP Protocol id of 88 or 89 respectively and then the EIGRP or OSPF header. In the case of RIP and BGP, there is a layer 4 header between the IP Header and the Routing Protocol header.
The question I have is why would you consider BGP and RIP application layer protocols while considering EIGRP and OSPF Network Layer protocols? I would think that if you consider RIP as an application layer protocol, all of those examples would be considered application layer protocols. RIP and BGP certainly ride on top of layer 4. EIGRP and OSPF ride on top of layer 3. EIGRP even has it own transport layer defined as RTP. So the transport layer is sort of built in.
If some one asked me, I would describe these as follows--
EIGRP is transported by layer 3
OSPF is transported by layer 3
RIP is transported by layer 4
BGP is an application that transports routing information at layer 4
The good thing about these OSI model discussions is that it really doesn't matter (except for possibly on a test). The model is to help us get our minds around how a network operates. I think everyone here is succeeding at that. In my experience, the examples given on the test has less ambiguity than the examples that are thrown out on this forum.
It's a lot of work to do that.
I shouldn't talk much though, I often don't read all parts of a message and sometimes that causes issues (like the DHCP thread!)
It was a little too succinct... Two of the four protocols that were asked about really do NOT operate at the Network Layer of the OSI model.
RIP and OSPF operate at layer 7
OSPF and EIGRP operate at layer 3
the only reason which I can see at this point is the RIP operates on UDP port 520 ant BGP operates on TCP Port 179 but they still support l-3 functionality a lot rather than Layer 7
Sorry man the last part is difficult to answer
I was reading your post, you said that OSPF and EIGRP donot have Transport Layer
information in them but I didnot understand which Layer 7(Application) information is
their on these routing protocols?
I hope my question is clear