06-07-2012 11:22 PM - edited 03-04-2019 04:36 PM
Hi,
I have to know all the protoclos RIP,IGRP,EIGRP,OSPF,BGP are working which layers.
Why the protocols are working these layers?
Anyone tell me answer...
06-07-2012 11:39 PM
Hi,
RIPv2 works over UDP 520.
Layer2 Frame - IP Header (IP Protocol field=17) -- UDP (Dst port=520) --- RIP Payload.
IGRP, EIGRP and OSPF works over IP Layer. Each of that have got their own protocol value.
IGRP has got its own protocol value 9. So IGRP packet looks like below:
Layer2 Frame --- IP Header (IP Protocol field=9)--- IGRP payload.
EIGRP protocol value is 88. EIGRP packet
Layer2 Frame --- IP Header (IP Protocol field=88)--- EIGRP payload.
OSPF protocol value is 89. OSPF packet
Layer2 Frame --- IP Header (IP Protocol field=89)--- OSPF payload.
BGP works over TCP. The router which initiates BGP connection is client and the peer is server.
Layer2 Frame --- IP Header (IP Protocol field=6)---TCP (dst port=179) - BGP payload.
I do not exactly know why the protocols are working on these layers. RIP being a very primitive protocol, designers would have considered UDP would be sufficient. Moreover all the reliability mechanisms should be incorporated in the routing protocol design (different timers in RIP).
IGRP, EIGRP and OSPF works on above IP Layer where the designers would have had more modular in designing specific protocol characteristics.
I think BGP being works over IP (considers IP reachability is present before it starts) would have chosen TCP as it already have reliable delivery model. Moreover BGP itself is heavily loaded by carrying full internet feed, so it makes sense to offload reliable mechanisms to TCP. But these are my guesses.
thanks in advance
Arun
06-07-2012 11:48 PM
Hii ,
BGP and RIP works on Layer 7 as they are dependent on underlying layers to built peer connectivity.
Example: BGP overs TCP and port 179 , essentially leaving reliability, error correction etc to be handled by lower layers and BGP to do route exchange(which it is best at) . Simillarly RIP on port no. 520.
Wherelse, IGRP,EIGRP and OSPF works on multicast IP and hence works on layer 3.
HTH,
Sukanya
PS: Please rate if helpfull...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide