Routing

last person joined: 5 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  a question about ripv1

    Posted 08-07-2012 02:11

    Hi, I have a question about RIPv1.The following is diagram.
    rip2.jpg
    I readvertised direct routes to RIP on R1
    The following is ouput from R1 or R2

    verifying the version of rip on R1 and R2, and both of them are version 1.
    [edit logical-systems r1]
    krenjt@Lab# run show rip neighbor logical-system r1
                             Source          Destination     Send   Receive   In
    Neighbor          State  Address         Address         Mode   Mode     Met
    --------          -----  -------         -----------     ----   -------  ---
    em1.12               Up 131.108.6.1     131.108.6.3     v1     v1 only    1

    [edit logical-systems r1]
    krenjt@Lab# run show rip neighbor logical-system r2   
                             Source          Destination     Send   Receive   In
    Neighbor          State  Address         Address         Mode   Mode     Met
    --------          -----  -------         -----------     ----   -------  ---
    em2.12               Up 131.108.6.2     131.108.6.3     v1     v1 only    1

    outputing direct routes from R1:
    [edit logical-systems r1]
    krenjt@Lab# run show route protocol direct logical-system r1

    inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    10.1.1.0/24        *[Direct/0] 00:03:38
                        > via lo0.1
    131.108.5.0/24     *[Direct/0] 00:03:38
                        > via em1.101
    131.108.6.0/30     *[Direct/0] 00:03:38
                        > via em1.12
    131.108.7.0/30     *[Direct/0] 00:03:38
                        > via em1.100

    verifying that R1 advertised direct routes properly, and it works well.
    [edit logical-systems r1]
    krenjt@Lab# run show route advertising-protocol rip 131.108.6.1 logical-system r1

    inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    10.1.1.0/24        *[Direct/0] 00:04:30
                        > via lo0.1
    131.108.5.0/24     *[Direct/0] 00:04:30
                        > via em1.101
    131.108.7.0/30     *[Direct/0] 00:04:30
                        > via em1.100


    showing rip routes on R2
    [edit logical-systems r1]
    krenjt@Lab# run show route protocol rip logical-system r2

    inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    10.1.1.0/32        *[RIP/100] 00:07:06, metric 2, tag 0
                        > to 131.108.6.2 via em2.12
    131.108.5.0/30     *[RIP/100] 00:07:10, metric 2, tag 0
                        > to 131.108.6.2 via em2.12
    131.108.7.0/30     *[RIP/100] 00:07:10, metric 2, tag 0
                        > to 131.108.6.2 via em2.12
    224.0.0.9/32       *[RIP/100] 00:07:10, metric 1
                          MultiRecv

    why is 10.1.1.0/32 and it should be 10.1.1.0/24
    why is 131.108.5.0/30 and it should be 131.108.5.0/24

    thanks!



  • 2.  RE: a question about ripv1

    Posted 08-07-2012 03:30

    Hi,

    The problem may be that RIP v1 is not announcing netmasks. Could You try with RIP v2 ?

     

    Cheers,

     

    Artur



  • 3.  RE: a question about ripv1
    Best Answer

    Posted 08-08-2012 18:57

     

    RIPv1 doesn't send the subnet information to the neighbors.


    If the recieved network ID fits the address classes (Class A, Class B, or Class C), the default class-based subnet mask is assumed.

    If the network ID does not fit the address class, then:

    If the recieved network ID and the interface on which it is received belong to same CLASSFULL address, the subnet mask of the interface on which it was received is assumed.

    If it doesn't fit the above the network ID is assumed to be a host route with the subnet mask /32.

     

    I never used RIPv1 anywhere, so this was interesting to me to check.

    Created a simple netwrok running RIPv1.

    R1 <==> R2   (WAN link 10.11.12.0/30)


    Originated the following routes from R1
     0.0.0.0/0
     192.168.0.0/16
     10.11.12.0/24
     10.11.13.0/24
     10.20.13.0/24
     11.11.13.0/24

     

    R2's routing table explains the above mentioned rule.


    lab@LAB-960-001:R2> show route protocol rip
    Aug 09 12:24:39

    inet.0: 8 destinations, 9 routes (8 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    0.0.0.0/0          *[RIP/100] 00:14:59, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    10.11.12.0/30       [RIP/100] 00:14:59, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    10.11.13.0/30      *[RIP/100] 00:14:59, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    10.20.13.0/30      *[RIP/100] 00:00:28, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    11.11.13.0/32      *[RIP/100] 00:14:59, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    192.168.0.0/24     *[RIP/100] 00:14:59, metric 2, tag 0
                        > to 10.11.12.1 via xe-9/0/1.70
    224.0.0.9/32       *[RIP/100] 00:00:32, metric 1
                          MultiRecv


    I hope this explains your question.

     

     

     


     



  • 4.  RE: a question about ripv1

    Posted 08-10-2012 01:22

    Thank you guys, thanks a lot.Smiley Happy