networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 7:12 am 
Offline
New Member
New Member

Joined: Sun Jul 03, 2011 3:25 pm
Posts: 38
Protocol numbers for TCP is 6 ;UDP-17 which are layer 4 protocols in OSI.

Protocol numbers for OSPF-89 but it is a layer 3 protocol in OSI .

Can anybody explain how they are in different layes when three of them are having protocol numbers?

(May be my interpretation of the literature is wrong)

Thanks & Regards

S.Swaminathan

_________________
Thanks & Regards

S.Swaminathan


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 7:34 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Jun 17, 2009 11:28 am
Posts: 1579
Location: Longford Ireland
Certs: BSc computer network administration, CCNP, MCSE
I think you may be getting confused.
Remember that all of those protocols move packets, what layer are packets layer 3, right.
So they are in themselves layer 3 protocols.
However how they communicate with eachother may involve another layer, in this case layer 4 for confirmation of packet delivery.
You just need a bit more reading, that's all

_________________
Good Luck,

David


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 7:38 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Oct 14, 2010 4:39 am
Posts: 1007
Certs: CCNP (R&S, Security), ITILv3 Foundation
Do you mean the protocol field as specified here: http://tools.ietf.org/html/rfc791#page-14 ?
The simplest definition as to why OSPF is considered a layer 3 protocol and TCP / UDP are layer 4, well, I'll stand to be corrected but this is how I understand it.
Technologies operating in layer 4 provide transport services for other protocols higher up the stack; UDP carries data for RTP, TCP carries data for SMTP.
Technologies operating in layer 3 provide addressing services to get data from one network node to another; because OSPF also handles its transport of data by itself it doesn't need to reference higher-layer protocols.
The difference isn't clear-cut between layers, but I think what I've written above should give you a general picture.


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 8:03 am 
Offline
Junior Member
Junior Member
User avatar

Joined: Mon Jan 24, 2011 8:50 am
Posts: 85
Location: Nicosia, Cyprus
Certs: CCNP
Routing protocols are essentially Application Layer protocols, used by routers to exchange topology information.
Routers in turn use the topology information that they have gathered from other routers (by utilizing Routing protocols) to route Routed protocols.

OSPF does not use a TCP/IP transport protocol (UDP, TCP), but is encapsulated directly in IP datagrams with protocol number 89. OSPF could conceivably use TCP, but for reasons unbeknownst to me, OSPF's designers chose not to use TCP. Since most OSPF traffic is point-to-point over a direct link between two routers, a whole connection does not have to be established. Yet, TCP's reliable transfer feature is desirable, so OSPF doesn't use UDP or TCP.

I had similar questions when i first bumped into this. What i understood is that The OSI 7 layer concept is an aceademic and purely theoretical construct. It has never been implemented. Noone cares enough to implement it. The closer a structure came to the OSI 7-layer structure is the Internet Protocol Suite. (http://en.wikipedia.org/wiki/Internet_Protocol_Suite)
The IP Suite calls L2 = Link Layer, L3 = Internet Layer, L4 = Transport Layer, L5,6,7 = Application Layer.
Still, people in networking use the OSI layers to understand at what point in a network a service/protocol operates.
You should know what each layer in the OSI model refers to, but you will never see the OSI Layer be implemented somewhere.
btw, the Protocol field in the IP datagram defines the protocol used in the data portion of the IP datagram. The Internet Assigned Numbers Authority maintains a list of IP protocol numbers which was originally defined in RFC 790. There seems to be no limit as to what kind of data can be encapsulated. Some numbers:
1 - ICMP (the ping tool uses ICMP)
4 - IP in IP (encapsulation)
8 - EGP
9 - IGP
88 - EIGRP
89 - OSPF
All these protocols are not Transport (Layer 4) protocols. So there is no limit as to what layer the encapsulated protocol has to be.
Actually even Layer 2 protocols can be encapsulated in IP datagrams:
97 - Ethernet-within-IP Encapsulation (RFC 3378)

http://en.wikipedia.org/wiki/List_of_IP ... ol_numbers

_________________
Rule #1 when troubleshooting: never give up


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 8:55 am 
Offline
New Member
New Member

Joined: Sun Jul 03, 2011 3:25 pm
Posts: 38
w1zard wrote:
Routing protocols are essentially Application Layer protocols, used by routers to exchange topology information.
Routers in turn use the topology information that they have gathered from other routers (by utilizing Routing protocols) to route Routed protocols.

OSPF does not use a TCP/IP transport protocol (UDP, TCP), but is encapsulated directly in IP datagrams with protocol number 89. OSPF could conceivably use TCP, but for reasons unbeknownst to me, OSPF's designers chose not to use TCP. Since most OSPF traffic is point-to-point over a direct link between two routers, a whole connection does not have to be established. Yet, TCP's reliable transfer feature is desirable, so OSPF doesn't use UDP or TCP.

I had similar questions when i first bumped into this. What i understood is that The OSI 7 layer concept is an aceademic and purely theoretical construct. It has never been implemented. Noone cares enough to implement it. The closer a structure came to the OSI 7-layer structure is the Internet Protocol Suite. (http://en.wikipedia.org/wiki/Internet_Protocol_Suite)
The IP Suite calls L2 = Link Layer, L3 = Internet Layer, L4 = Transport Layer, L5,6,7 = Application Layer.
Still, people in networking use the OSI layers to understand at what point in a network a service/protocol operates.
You should know what each layer in the OSI model refers to, but you will never see the OSI Layer be implemented somewhere.
btw, the Protocol field in the IP datagram defines the protocol used in the data portion of the IP datagram. The Internet Assigned Numbers Authority maintains a list of IP protocol numbers which was originally defined in RFC 790. There seems to be no limit as to what kind of data can be encapsulated. Some numbers:
1 - ICMP (the ping tool uses ICMP)
4 - IP in IP (encapsulation)
8 - EGP
9 - IGP
88 - EIGRP
89 - OSPF
All these protocols are not Transport (Layer 4) protocols. So there is no limit as to what layer the encapsulated protocol has to be.
Actually even Layer 2 protocols can be encapsulated in IP datagrams:
97 - Ethernet-within-IP Encapsulation (RFC 3378)

http://en.wikipedia.org/wiki/List_of_IP ... ol_numbers



I understood from your reply with the wordings "the Protocol field in the IP datagram defines the protocol used in the data portion of the IP datagram" that what the protocol number means!

Thanks & Regards

S.Swaminathan

_________________
Thanks & Regards

S.Swaminathan


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 9:02 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Jun 17, 2009 11:28 am
Posts: 1579
Location: Longford Ireland
Certs: BSc computer network administration, CCNP, MCSE
The protocol field is what is read at the destination to determine what particular piece of software requires the packet.
So if the field was 88 it would be handed to the EIGRP software.

Please read what I said above.

_________________
Good Luck,

David


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 3:03 pm 
Offline
New Member
New Member

Joined: Sun Jul 03, 2011 3:25 pm
Posts: 38
If I am correctly understood now-----------------"You explained me with respect to layers from bottom to top in the receiving end or destination.

What I typed in my previous post is my perception with respect to layers from top to bottom at the source end

Please advise me if I am wrong!

thanks & regards

S.Swaminathan

_________________
Thanks & Regards

S.Swaminathan


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Tue Jul 05, 2011 7:47 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5150
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
w1zard wrote:
OSPF could conceivably use TCP, but for reasons unbeknownst to me, OSPF's designers chose not to use TCP.

No it can't. Not as long as it uses a multicast destination address.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Wed Jul 06, 2011 3:03 am 
Offline
New Member
New Member

Joined: Mon Jul 04, 2011 11:42 pm
Posts: 20
Certs: IT networks Bachelor
got it


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Wed Jul 06, 2011 7:13 am 
Offline
Junior Member
Junior Member
User avatar

Joined: Mon Jan 24, 2011 8:50 am
Posts: 85
Location: Nicosia, Cyprus
Certs: CCNP
@ Infinite

i was just thinking out loud, i guess a more correct sentence would be more like:
OSPF could conceivably use UDP, but for reasons unbeknownst to me, OSPF's designers chose not to use UDP.

_________________
Rule #1 when troubleshooting: never give up


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Wed Jul 06, 2011 8:48 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Oct 14, 2010 4:39 am
Posts: 1007
Certs: CCNP (R&S, Security), ITILv3 Foundation
w1zard wrote:
@ Infinite

i was just thinking out loud, i guess a more correct sentence would be more like:
OSPF could conceivably use UDP, but for reasons unbeknownst to me, OSPF's designers chose not to use UDP.


If I'm not mistaken, John Moy discusses the reasons for keeping OSPF clean of upper-layer protocols in his book on the subject.
I'd quote the paragraph, but I don't have the book to hand.


Top
 Profile  
 
 Post subject: Re: RIP,OSPF,IGRP etc
PostPosted: Thu Nov 17, 2011 11:57 am 
Offline
New Member
New Member

Joined: Sun Jul 03, 2011 3:25 pm
Posts: 38
swaminathan wrote:
If I am correctly understood now-----------------"David!!You explained me with respect to layers from bottom to top in the receiving end or destination.

What I typed in my previous post is my perception with respect to layers from top to bottom at the source end

Please advise me if I am wrong!

thanks & regards

S.Swaminathan



Am I right in my perception? after few months I am asking this question

_________________
Thanks & Regards

S.Swaminathan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group