Main Commands
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.
R2:
In order to apply protocol RIP, we will write the following set of commands on R2 as well.
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.
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)# 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)# 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.
Technorati Tags: RIP protocol on Packet Tracer,Packet tracer tutorial,Packet tracer networking,networking on Packet tracer,networking topology on Packet tracer,Packet tracer activity,RIP on PT
thank u ...it worked
ReplyDeleteThis comment has been removed by a blog administrator.
DeleteOscar Neil 1786@burnside.school.nz
DeleteThis entry should be titled: How to not RIP in Packet Tracer.
ReplyDeleteIn 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
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.
ReplyDeleteNope. 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.
DeleteCheck 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.
DeleteRouter0 RIP should be 192.168.1.0 & 192.168.2.0
DeleteRouter1 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!
This comment has been removed by a blog administrator.
Deleteu can create new rip version then it works
DeleteThe things you have explained these really make sense, I love this writing!
ReplyDeleteBuy the best gaming router
The things you have explained these really make sense, I love this writing!
ReplyDeleteBuy the best gaming router
WONDERFUL POST USMAN. please could you also do an example for subnets?
ReplyDeleteeg. 255.255.255.224 making 5 subnets.
Found some Cisco examples and templates in creately diagram community.
ReplyDeletehow to clear rip configuration.
ReplyDeleteThe things you have explained these really make sense, I love this SFP-10G-ZR
ReplyDeleteIts Method wrong. I have create same scenario on the Packet tracer, but routing not started process between the PC's
ReplyDeleteDynamic Routing has process to completed on the RIP but still its not work
ReplyDeleteHow can I buy the CD ONLY to the Linksys RE1000 Wireless-N Range Extender?
Thanks for sharing this marvelous post. I m very pleased to read this article.
ReplyDeleterouterlogin
netgear setup
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.
ReplyDeleteThis 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.
ReplyDeleteYou 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
ReplyDeletehii, Thanks for share the info.
ReplyDeletemywifiext netgear
mywifiext setup
Mywifiext.net Not Working