compare layer of RIP vs. OSPF



Hello

Every one knows that RIP and OSPF protocols are routing protocols.
My question is the difference between them.

RIP uses UDP port 520.
This means that RIP format in the network layer has following shape.

+---------------+----------------+-----------------------+
| IP header | UDP header | RIP header |
+---------------+----------------+-----------------------+

However
OSPF is directly attached next to the IP header like

+---------------+-----------------+
| IP header | OSPF header |
+---------------+-----------------+

Both protocols have similar functions like routing.
Why does RIP use UDP header, OSPF does not use UDP header?



.



Relevant Pages

  • Re: compare layer of RIP vs. OSPF
    ... Every one knows that RIP and OSPF protocols are routing protocols. ... Why does RIP use UDP header, OSPF does not use UDP header? ...
    (comp.os.linux.networking)
  • Re: RIP count to infinity and OSPF
    ... to RIP at different times after practical problems came up. ... How is a OSPF routing update different from RIP update? ... They occur because each RIP router only has updates sent from its ...
    (comp.dcom.sys.cisco)
  • Re: best choise between RIP and OSPF
    ... Your main point refers to Processing and Bandwidth usage ... RIP is more chatty that OSPF (RIP broadcasts it's routing table every 30 x ... OSPF allows for route summarisation, RIP does not so you ...
    (comp.dcom.sys.cisco)
  • Re: RIP count to infinity and OSPF
    ... mechanisms to handle count to infinity problem in RIP. ... to RIP at different times after practical problems came up. ... How is a OSPF routing update different from RIP update? ... They occur because each RIP router only has updates sent from its ...
    (comp.dcom.sys.cisco)
  • Re: RIP count to infinity and OSPF
    ... to RIP at different times after practical problems came up. ... How is a OSPF routing update different from RIP update? ... big topology database for each area it connects to and needs more CPU ...
    (comp.dcom.sys.cisco)