Solved

Is RIP layer 3 protocol or layer 7 protocol?

Posted on 2001-09-13
8
3,426 Views
Last Modified: 2006-11-17
I think the routing protocols are layer 3 protocol,but RIP has PORT 520 in layer 4 ,Only upper protocols can have PORT number.
i am confused and please help me!
0
Comment
Question by:bitsnake
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 2

Accepted Solution

by:
bsadlick earned 100 total points
ID: 6479313
The routing application operates at higher than layer 3; it controls layer 3 forwarding. UDP port 520 is open for RIP updates to the routing daemon. Remember that routing is a computer program, just like most others.
0
 
LVL 17

Expert Comment

by:mikecr
ID: 6480326
Yes, routing is basically software that looks at the source and destination address of a packet and forwards the packet accordingly. Try not to use ports for a distinction as I can send any information down almost any port as long as both ends will communicate on the same port.
0
 

Author Comment

by:bitsnake
ID: 6481458
so all the routing protocol rip,igrp,eigrp are layer 7 protocols?in the ccna 2.0's student book,rip is considered as layer 7 protocols on the other hand igrp is not mentioned.

is the rip different from other routing protocol?is rip special?i couldn't find igrp's port number less than 1024  in layer 4.

Is rip SPECIAL?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

Expert Comment

by:mikecr
ID: 6482263
Yes again. Routing protocols are software applications, making them layer 7, but they work at layer 3 of the OSI model. There is nothing special about RIP compared to other protocols. RIP is actually a lower end routing protocol compared to EIGRP and OSPF.

This will help you to understand them.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios11/cbook/ciproute.htm
0
 
LVL 8

Expert Comment

by:scraig84
ID: 6482831
Hmmm, I actually would say that not every routing protocol goes above layer 4.  IGRP (and consequently EIGRP) and EGP for example have their own IP type values, which means they are sitting directly above IP and do not use UDP or TCP services.  This is not to say that they carry out the functions of a layer 4 protocol.  Its kind of hairy.  I would agree that all routing processes are of an application nature.  However, when I think of an application protocol, I immediately think "anything above layer 4", since the top 3 layers are traditionally application based and named the application layers.  This means that an application can be "socket based".  However, there is no socket if there are no layer 4 port values to be used.

What bitsnake is finding is interesting, since traditionally, books put all routing protocols as a sub-section of layer 3, since they control layer 3 forwarding.  However, technically they are all application based to one degree or another, although they fit into different layers above layer 3.
0
 
LVL 2

Expert Comment

by:bsadlick
ID: 6482942
I think that we are all trying to say the same thing. Routing protocols are applications that may utilize the upper layers, but are used to control layer 3 forwarding.

IGRP and EGP may not use TCP or UDP, but if the data that they are trading is contained within the data portion of the IP datagram, then technically I would say that they are using layer 4 to transport routing information.
0
 
LVL 8

Expert Comment

by:scraig84
ID: 6482977
Agreed.  My point was that in order to say "they are all layer 7" with or without layers 5 and 6 being used, I think it needs to be above layer 4 first.  However, you could easily call that being picky :).
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 6483226
Wait a minute . . .  follow this link and then tell me RIP is an application.

http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/osi_prot.htm

I think that part of the problem in trying to pigeon hole things like routing protocols into the OSI model is the underlying assumption that _ IF_ TCP/IP or IP addressing is involved _THEN_ the process will fit neatly into the OSI model definition. Think about SNMP. It's a little easier to see how this fits into the model . . . there's a presentation layer, albeit crude, a session control layer (HELO, QUIT) . . . but RIP and EIGRP don't fit neatly into the model. It's an interesting if only academic question. Like mikecr said, selection of a transport and derivatively a socket doesn't imply an application.

Good luck on your exam.

Steve
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question