Re: compare layer of RIP vs. OSPF
- From: "prg" <rdgentry1@xxxxxxxxxxxxx>
- Date: 24 Feb 2006 06:29:25 -0800
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
.
- Follow-Ups:
- Re: compare layer of RIP vs. OSPF
- From: Choonho
- Re: compare layer of RIP vs. OSPF
- References:
- compare layer of RIP vs. OSPF
- From: Choonho
- compare layer of RIP vs. OSPF
- Prev by Date: compare layer of RIP vs. OSPF
- Next by Date: Re: Building and configuring reliable linux routers?
- Previous by thread: compare layer of RIP vs. OSPF
- Next by thread: Re: compare layer of RIP vs. OSPF
- Index(es):
Relevant Pages
|