RIP protocol

Unanswered Question
Apr 26th, 2007
User Badges:

Thank you all for your information ...


i have this network topology and configured using RIP v1 in my virtual lab ...

192.168.1.32/27---R1----10.1.1.0/24-----R2------192.168.1.64/27


by default it shouldn't work using RIP v1 but it works well..we have different subnet masks....


so why it works....

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
mohammedmahmoud Fri, 04/27/2007 - 00:41
User Badges:
  • Green, 3000 points or more

Hi there,


This is called discontigous network, normally R1 should advertise 192.168.1.0 (auto-summary), and R2 will drop the route since it has learned a subnet of the same major network from a connected interface, please issue a debug ip rip to trace the operation.


Please refer to these documents:


Behavior of RIP and IGRP When Sending and Receiving Updates

http://www.cisco.com/en/US/tech/tk364/technologies_tech_note09186a0080093fd8.shtml


Why Doesn't RIP or IGRP Support Discontiguous Networks?

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093fd6.shtml


HTH, please rate if it does help,

Mohammed Mahmoud.

alwahidi22 Fri, 04/27/2007 - 01:04
User Badges:

thank you Mohammed for your response , but 1) i want to know that i can use different subnet mask lengths within RIP networks , if yes why we say that RIP is clasfull protocol


2) discontigous network you mean here that we connect for example two networks(class A) for example using network( class B ) or using different network portion ( class A )

Jon Marshall Fri, 04/27/2007 - 01:37
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


You can use different subnet masks per major subnet ie. you could use the following


10.5.1.0/24

10.5.2.0/24


192.168.1.0/28

192.168.1.16/28


etc...


You cannot use different subnets within the same major network ie.


192.168.1.0/28

192.168.1.128/25


This is because RIP does not exhange the subnet mask in it's routing updates.


Discontiguous means exactly what you say and what you have done in your lab.


HTH


Jon

alwahidi22 Fri, 04/27/2007 - 01:57
User Badges:

thank you jon


i appreciated your response and it was very helpful for me , so 1)the discontiguous network doesn't work with RIP ?

...2)is the following topology Discontiguous network ?

3)is the following topology work with RIP v1?


192.168.1.0/24---R1---192.168.4.4/30----R2----192.168.2.0/24


by the way this is one of the topology that used in one of cisco books



Jon Marshall Fri, 04/27/2007 - 02:08
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


No this is not a discontiguous example.


The major network numbers are


192.168.1.0/24

192.168.4.0/24

192.168.2.0/24


So you do not have a major network that is split by another major network.


Yes the above topology should work with RIPv1 for the reasons stated above.


HTH


Jon

mohammedmahmoud Fri, 04/27/2007 - 03:14
User Badges:
  • Green, 3000 points or more

Hi there,


You're last example is not a discontigous network (no major network overlap), but your original post was a discontigous network, and RIPv1 doesn't support discontigous networks, as it never sends the subnet mask with the routes, please refer to the documents i've send you.


HTH,

Mohammed Mahmoud.

alwahidi22 Fri, 04/27/2007 - 03:54
User Badges:

192.168.1.32/27-----R1-----192.168.4.4/30----R2-----192.168.1.64/27

does this topology work with RIP V1

Jon Marshall Fri, 04/27/2007 - 04:12
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


No it shouldn't because here you do have a discontiguous major network ie. 192.168.1.0.


See Mohmammed's links for more details.


HTH


Jon

mohammedmahmoud Fri, 04/27/2007 - 04:15
User Badges:
  • Green, 3000 points or more

Hi,


Just as Jon has said, it shouldn't work as its a discontigous network, and referring to the link both routers will drop the routes exchanged since they match the major boundary.


HTH,

Mohammed Mahmoud.

alwahidi22 Fri, 04/27/2007 - 04:37
User Badges:

Thank you Mohammad , i appreciated your ideas and i hope to be friends

mohammedmahmoud Fri, 04/27/2007 - 04:42
User Badges:
  • Green, 3000 points or more

Hi Ibrahim,


You are always welcomed, and i'll be glade to have you as a friend.


BR,

Mohammed Mahmoud.

alwahidi22 Fri, 04/27/2007 - 04:35
User Badges:

Thank you jon , i have understand all the ideas you talk


thank you very much

Actions

This Discussion