As far as I know, OSPF creates its messages directly at the network layer, whereas RIP function on UDP. Their function is pretty similar, so why is there such a difference in their messaging practice?

  • 1
    Two different people, at two different times, had two different ideas.
    – Ron Trunk
    May 11, 2018 at 11:41
  • "OSPF creates its messages directly at the network layer" It would be more accurate to say that OSPF and EIGRP have their own transport protocols, where RIP uses UDP as its transport protocol, and BGP uses TCP as its transport protocol. The network layer is IP, and IP doesn't know anything about OSPF or the other routing protocols.
    – Ron Maupin
    May 11, 2018 at 16:25
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 25, 2018 at 8:29

1 Answer 1


There's simply no advantage in using UDP.

OSPF is designed to be implemented on hardware devices. Doing away with the (slight) UDP overhead reduces the implementation footprint and makes the traffic more efficient.

RIP was designed when routers were software implementations on hosts that had a full stack anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.