Re: compare layer of RIP vs. OSPF




Choonho wrote:
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?

The IP header carries all the needed info, ie., OSPF does not need the
port numbers added by a UDP header.

Specifically, the IP PROTOCOL field for OSPF is 89. RIP has no
specific protocol field reserved for its use; it uses UDP (PROTOCOL
field is 17).

See:
http://www.networksorcery.com/enp/protocol/ip.htm#Protocol

hth,
prg

.



Relevant Pages

  • 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: servers address in ntp payload?
    ... > The hosts requirements RFC could have said that the responses MUST ... That would have meant that *no* UDP ... I don't know why you think I have issues with protocols and API. ... > the destination address was thought unnecessary. ...
    (comp.protocols.time.ntp)
  • Re: Source address in response always the same as target address in request?
    ... These protocols multiplex among possibly many servers and clients using the IP addresses and ports (UDP). ... A client sending a request to a server must know the source address of the reply in ordet to match the request to the reply data structures. ... that the interface even provided the ability for the application to ...
    (comp.protocols.time.ntp)
  • Re: servers address in ntp payload?
    ... All of Linux's kernel request/response UDP protocols work ... no matter which of the possibly many destination ... If the OS implements a UDP request/response protocol, ...
    (comp.protocols.time.ntp)
  • Re: VPN users cannot access exchange server
    ... ICA sesssion or server local machine. ... but the list of protocols may become long. ... Kerberos-Sec (UDP) ... If the Clients were Domain Members then it would also need "NTP " so ...
    (microsoft.public.isa)