07-17-2007 06:49 AM - edited 03-03-2019 05:54 PM
Hello,
I have a query regarding encapsulation of OSPF & EIGRP packets into IP packet.As we know that RIP use UDP and BGP use TCP so we call them application layer routing protocols. My question is that in which layer OSPF & EIGRP lies and what is the format of encapsulted OSPF & EIGRP packets ? What is the difference in encapsulation process of these protocols as compare to RIP & BGP.
Regards,
Mujeeb
Solved! Go to Solution.
07-18-2007 05:42 AM
Mujeeb
Yes OSPF data (and EIGRP data) travel as the payload of their IP packets. And OSPF packets and EIGRP packets do not contain UDP or TCP.
There are a number of situations where IP packets going through the network do not have TCP or UDP transport layer. For example protocol 47 is for GRE packets which do not use either UDP or TCP. And protocol 50 is for ESP (part of IPSec) which does not use UDP or TCP.
These protocols (including OSPF) do not need the services provided by the traditional transports of UDP or TCP.
HTH
Rick
07-17-2007 08:03 AM
RIP and BGP use already existing transport protocols UDP/TCP. e.g. BGP can rely on all the features already provided by TCP such as ACKed packets.
OSPF is a protocol on IP:protocol value = 89. Other values can be found at:
http://www.iana.org/assignments/protocol-numbers
OSPF packets are carried by IP without TCP/UDP headers. Packet formats can be found at: ftp://ftp.rfc-editor.org/in-notes/rfc2328.txt
Thanks.
07-17-2007 10:54 AM
Mujeeb
Rais gives a good answer in terms of OSPF and much the same thing can be said for EIGRP. The designers of RIP and of BGP decided to utilize existing transport protocols to carry their routing traffic. The developers of OSPF and of EIGRP decided that there were advantages in not using an existing transport layer protocol and just encapsulating their content directly in IP. Part of the advantage of this is that it simplifies the formatting of the packet and simplifies the processing of the packet when it is received (rather than passing the data from layer 3 IP to layer 4 UDP or TCP which will look at the data and determine that it needs to be sent to the routing protocol, the data goes directly from layer 3 IP to the routing protocol.
HTH
Rick
07-18-2007 05:30 AM
Hello Rick,
It means that OSPF packet travel in payload field of an IP packet and that IP packet does not contain UDP/TCP in it so where will be transport layer come into play.EIGRP use RTP as transport layer protocol , is there no need of transport layer function for OSPF ?
Regards,
Mujeeb
07-18-2007 05:42 AM
Mujeeb
Yes OSPF data (and EIGRP data) travel as the payload of their IP packets. And OSPF packets and EIGRP packets do not contain UDP or TCP.
There are a number of situations where IP packets going through the network do not have TCP or UDP transport layer. For example protocol 47 is for GRE packets which do not use either UDP or TCP. And protocol 50 is for ESP (part of IPSec) which does not use UDP or TCP.
These protocols (including OSPF) do not need the services provided by the traditional transports of UDP or TCP.
HTH
Rick
07-18-2007 09:09 PM
Hello Rick,
I got your point , thanks for the response.
Regards,
Mujeeb
07-19-2007 10:41 AM
Mujeeb
I am glad that we were able to clarify that point. Thank you for using the rating system to indicate that your question was answered satisfactorily (and thanks for the rating). It helps make the forum more useful when people can read a question and can know that they will read a good answer to the question. I encourage you to continue your participation in the forum.
HTH
Rick
07-17-2007 10:46 AM
Hi
OSPF is relies on IP packet for delivery of routing information.OSPF information is carried inside IP packet .
it is using protocol number 89 .
-minu
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: