October 19, 2012

RIP on Packet Tracer

Main Commands
clip_image002
You need to advertise only the classful network number, not a subnet.
Explanation:
Lets apply RIP protocol on the following topology.


Now, we will follow the steps as mentioned in detail in the following article. i.e.
i. We will assign IP addresses to all the fast Ethernet and serial interfaces respectively.
ii We will change the state of the interfaces from down to UP.
Then, after we are done with the basic step. We will apply RIP protocol commands on both routers.

Configuration of Router 0 i.e. configuring both serial and fastethernet interfaces.


Configurations of R1


Assigning IP address to PC0


Assigning IP address to PC1





R1
In order to apply protocol RIP, we will write the following set of commands.

Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# network 192.168.2.0
Router(config-router)# network 192.168.3.0
Router(config-router)#exit


R2:
In order to apply protocol RIP, we will write the following set of commands on R2 as well.

Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# network 192.168.2.0
Router(config-router)# network 192.168.3.0
Router(config-router)#exit









Write all the commands in the same fashion as in the above screen shots and voila, we are done with RIP protocol. Another important thing here is that we will add all the networks that we are using in our topology. Here in this particular example i am just using two networks x.x.1.0 and x.x.2.0 so thats why i have added these two network addresses to the RIP protocol.

Now, you can check it. Traffic is enabled and you can easily send data from PC0 to PC1.





23 comments:

  1. Replies
    1. This comment has been removed by a blog administrator.

      Delete
    2. Oscar Neil 1786@burnside.school.nz

      Delete
  2. This entry should be titled: How to not RIP in Packet Tracer.
    In this example RIP packets will be rejected, so executing "router rip" command on routers is useless. You can check that for yourself by filtering RIP packets in event list filters. The only reason this is working it is because of HDLC connection between routers. It will fail on ethernet cable. To correct this - the serial interfaces should be in the same network: 192.168.3.0/24. Router3 RIP should contain .1.0 & .3.0 networks, Router2 - .2.0 & .3.0

    ReplyDelete
  3. well , u r wrong sir. Just checked again. It does work perfectly fine. Does not matter if you use serial or cross over ethernet cable to connect the two routers. May b if u send me your exact problem, i would b able to help u with that.

    ReplyDelete
    Replies
    1. Nope. You should review your blog entry. Here let me visualize what you are trying to do: http://i.stack.imgur.com/O8ECe.jpg. Is that correct? Now tell me - why are the serial interfaces not in the same network? Is there any CISCO book that contains/explains that kind of interface configuration? Regards.

      Delete
    2. Check it out now. Yh there was a mistake. Network on both serial interfaces must be the same. Thanks for pointing out. I didnt realize it until now that i had uploaded wrong screenshots.

      Delete
    3. Router0 RIP should be 192.168.1.0 & 192.168.2.0
      Router1 RIP should be 192.168.2.0 & 192.168.3.0
      There is no need to "add all the networks that we are using in our topology" in to the RIP. Think.
      Imagine that your network topology contains 8 routers. Suddenly you are forced to change network of one of the Router4 interfaces. Now does it mean that you should update RIP on any router in your topology? No! You should update it only on Router4, so it can “tell” the other routers: "Hey one of my networks changed - here is the new network address!"
      So basically you type only those networks which are connected directly to the router.

      Also what is R2? There is no such device so please correct it, you should stick to Router0 and Router1 names. Finally, this: “Here in this particular example i am just using two networks x.x.1.0 and x.x.2.0 so thats why i have added these two network addresses to the RIP protocol.” seams to be outdated now.

      Be careful what you write! Specially if your entry is on the top of the Google search!

      Delete
    4. This comment has been removed by a blog administrator.

      Delete
    5. u can create new rip version then it works

      Delete
  4. The things you have explained these really make sense, I love this writing!
    Buy the best gaming router

    ReplyDelete
  5. The things you have explained these really make sense, I love this writing!
    Buy the best gaming router

    ReplyDelete
  6. WONDERFUL POST USMAN. please could you also do an example for subnets?
    eg. 255.255.255.224 making 5 subnets.

    ReplyDelete
  7. Found some Cisco examples and templates in creately diagram community.

    ReplyDelete
  8. The things you have explained these really make sense, I love this SFP-10G-ZR

    ReplyDelete
  9. Its Method wrong. I have create same scenario on the Packet tracer, but routing not started process between the PC's

    Dynamic Routing has process to completed on the RIP but still its not work

    ReplyDelete
  10. Thanks for sharing this marvelous post. I m very pleased to read this article.
    routerlogin
    netgear setup

    ReplyDelete
  11. Excellent Blog on the Router IP address. If you want to search the IP then visit the 19216811.Global. They have a huge collections of Global IP address.

    ReplyDelete
  12. This is really informative blog! Belkin is one of the most trustable routers in the UK. Belkin Router provides best internet service by their latest features.

    ReplyDelete
  13. You can refer to other online resources too in order to get an idea on Cisco, IT, Network etc. I found one tool which was very much useful and also I found they got different diagrams. creately

    ReplyDelete

C program to Read From a File

#include <stdio.h> #include <stdlib.h> void main() {     FILE *fptr;     char filename[15];     char ch;   ...