[Xorp-users] Dynamic RP and other issues

hilal chouman hilalchouman at gmail.com
Thu Mar 15 07:47:21 PDT 2007


Hi Pavlin,



Rec—R3---R1---R2--- rec



More specifically this:



Rec---(eth0 of  R3 | eth1 of R3)---(eth0 of  R1 | eth1 of R1)---


  |

                                           Send---(eth0 of  R2 | eth1 of R2)
---
addresses:


(Rec: 10.0.80.12)---(R3: 10.0.80.10 | R3: 10.1.50.1)---(R1: 10.1.50.10 | R1:
10.1.200.1)---


  |

                                              ( Send: 10.1.100.10)---(R2:
10.1.100.1 | R2: 10.1.200.10) ---

Rec=Receiver

Send=Sender



I have the above network and multicast worked well with static RP
configuration. I have been setting VLC steaming video on sender and received
it successfully on the receiver.



I am now trying to set up the bootsrap cand BSR/ cand RP but it can't find
the RP. My config.boot files are at the end of the email.

I have a couple of questions about the dynamic RP configuration:

1- how do you select the cand-bsr-by-vif-name and the cand-rp-by-vif-name? I
've selected them in a way that they point towards the sender. Is that right
or it has nothing to do with it?

2- what is the minimum configuration for dynamic RP ?



On other topics:

1-     what is the significance of the group-prefix 224.0.0.0? I know that
after this address, the range of multicast addresses are found. Does it
relate by anyway to the multicast group addresses used in the network?

2-     Do you have any information on SSM with XORP or SSM with VLC (other
than enabling version 3 of IGMP?

3-     A stream is sent by multicast to a certain a multicast group address.
It was received. What will happen if another stream was sent to the same
multicast group address?

Sorry for making it long. And thanks in advance.



*My Config.boot files:*



*Router 2 (R2)*

*------------------*

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.41 2006/06/30 00:43:05 pavlin
Exp $ */





interfaces {

    restore-original-config-on-shutdown: false

    interface eth1 {

      description: "Ethernet"

      disable: false

      discard: false

      /* default-system-config */

      vif eth1 {

          disable: false

          address 10.1.200.10 {

            prefix-length: 25

                multicast-capable: true

            disable: false

          }

      }

    }

   /* interface eth2 {

        description: "Ethernet"

        disable: false

        discard: false

        vif eth2 {

           disable: false

           address 10.1.150.1 {

                prefix-length: 25

                multicast-capable: true

                disable: false

           }

        }

    } */

    interface eth0 {

      description: "Ethernet"

      disable: false

        discard: false

      /* default-system-config */

      vif eth0 {

          disable: false

          address 10.1.100.1 {

            prefix-length: 25

            multicast-capable: true

            disable: false

          }

      }

    }

/*      interface lo {

        description: "Loopback interface"

        disable: false

        discard: false

        vif lo {

            disable: false

       }

     }

*/

}



fea {

    unicast-forwarding4 {

      disable: false

        }

    }





plumbing {

     mfea4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

          }

      }



       /* interface eth2 {

            vif eth2 {

                disable: false

            }

        } */



      interface eth1 {

            vif eth1 {

                  disable: false

         }

      }

      interface "register_vif" {

          vif "register_vif" {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }

      traceoptions {

          flag {

              all {

            disable: false

              }

          }

      }

    }

}



protocols {

    igmp {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            version: 3

            enable-ip-router-alert-option-check: false

            query-interval: 125

            query-last-member-interval: 1

            query-response-interval: 10

            robust-count: 2

          }

      }



/* interface eth2 {

            vif eth2 {

                disable: false

                version: 3

                enable-ip-router-alert-option-check: false

                query-interval: 125

                query-last-member-interval: 1

                query-response-interval: 10

                robust-count: 2

            }

        }



*/

        interface eth1 {

            vif eth1 {

                disable: false

                version: 3

                enable-ip-router-alert-option-check: false

                query-interval: 125

                query-last-member-interval: 1

                query-response-interval: 10

                robust-count: 2

           }

        }

      traceoptions {

          flag {

               all {

            disable: false

               }

          }

      }

    }

    pimsm4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            enable-ip-router-alert-option-check: false

            dr-priority: 1

            hello-period: 30

            hello-triggered-delay: 5

          }

      }



      /* interface eth2 {

            vif eth2 {

                disable: false

                enable-ip-router-alert-option-check: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        } */



        interface eth1 {

            vif eth1 {

                disable: false

                enable-ip-router-alert-option-check: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

      interface register_vif {

          vif register_vif {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }



/*    static-rps {

          rp 10.1.200.1 {

            group-prefix 224.0.0.0/4 {

                rp-priority: 192

                hash-mask-len: 30

            }

          }

      }

*/



      bootstrap {

            disable: false

            cand-bsr {

                  scope-zone 224.0.0.0/4 {

                  cand-bsr-by-vif-name: "eth0"

                  }

            }



            cand-rp {

                  group-prefix 224.0.0.0/4 {

                  cand-rp-by-vif-name: "eth0"

                  }

            }

      }

      switch-to-spt-threshold {

          /* approx. 1K bytes/s (10Kbps) threshold */

          disable: true

          interval: 100

          bytes: 102400

      }



      traceoptions {

          flag {

                all {

                disable: false

                }

          }

      }

    }



    fib2mrib {

      disable: false

    }

}





*Router 1 (R1)*

*------------------*

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.41 2006/06/30 00:43:05 pavlin
Exp $ */





interfaces {

    restore-original-config-on-shutdown: false

    interface eth1 {

      description: "Ethernet"

      disable: false

      discard: false

      /* default-system-config */

      vif eth1 {

          disable: false

          address 10.1.200.1 {

            prefix-length: 25

                multicast-capable: true

            disable: false

          }

      }

    }

    interface eth0 {

      description: "Ethernet"

      disable: false

        discard: false

      /* default-system-config */

      vif eth0 {

          disable: false

          address 10.1.50.10 {

            prefix-length: 25

            multicast-capable: true

            disable: false

          }

      }

    }

      interface lo {

        description: "Loopback interface"

        disable: false

        discard: false

        vif lo {

            disable: false

       }

     }

}



fea {

    unicast-forwarding4 {

      disable: false

        }

    }





plumbing {

     mfea4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

          }

      }

        interface eth1 {

          vif eth1 {

              disable: false

            }

        }

      interface "register_vif" {

          vif "register_vif" {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }

      traceoptions {

          flag {

              all {

            disable: false

              }

          }

      }

    }

}



protocols {

    igmp {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            version: 3

            enable-ip-router-alert-option-check: false

            query-interval: 125

            query-last-member-interval: 1

            query-response-interval: 10

            robust-count: 2

          }

      }

        interface eth1 {

            vif eth1 {

                disable: false

                version: 3

                enable-ip-router-alert-option-check: false

                query-interval: 125

                query-last-member-interval: 1

                query-response-interval: 10

                robust-count: 2

           }

        }

      traceoptions {

          flag {

               all {

            disable: false

               }

          }

      }

    }

    pimsm4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            enable-ip-router-alert-option-check: false

            dr-priority: 1

            hello-period: 30

            hello-triggered-delay: 5

          }

      }

        interface eth1 {

            vif eth1 {

                disable: false

                enable-ip-router-alert-option-check: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

      interface register_vif {

          vif register_vif {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }



      static-rps {

          rp 10.1.200.1 {

            group-prefix 224.0.0.0/4 {

                rp-priority: 192

                hash-mask-len: 30

            }

          }

      }



      switch-to-spt-threshold {

          /* approx. 1K bytes/s (10Kbps) threshold */

          disable: true

          interval: 100

          bytes: 102400

      }



      traceoptions {

          flag {

                all {

                disable: false

                }

          }

      }

    }



    fib2mrib {

      disable: false

    }

}





*Router 3 (R3)*

*------------------*

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.41 2006/06/30 00:43:05 pavlin
Exp $ */





interfaces {

    restore-original-config-on-shutdown: false

    interface eth1 {

      description: "Ethernet"

      disable: false

      discard: false

      /* default-system-config */

      vif eth1 {

          disable: false

          address 10.1.50.1 {

            prefix-length: 25

                multicast-capable: true

            disable: false

          }

      }

    }

    interface eth0 {

      description: "Ethernet"

      disable: false

        discard: false

      /* default-system-config */

      vif eth0 {

          disable: false

          address 10.0.80.10 {

            prefix-length: 25

            multicast-capable: true

            disable: false

          }

      }

    }

      interface lo {

        description: "Loopback interface"

        disable: false

        discard: false

        vif lo {

            disable: false

       }

     }

}



fea {

    unicast-forwarding4 {

      disable: false

        }

    }





plumbing {

     mfea4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

          }

      }

        interface eth1 {

          vif eth1 {

              disable: false

            }

        }

      interface "register_vif" {

          vif "register_vif" {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }

      traceoptions {

          flag {

              all {

            disable: false

              }

          }

      }

    }

}



protocols {

    igmp {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            version: 3

            enable-ip-router-alert-option-check: false

            query-interval: 125

            query-last-member-interval: 1

            query-response-interval: 10

            robust-count: 2

          }

      }

        interface eth1 {

            vif eth1 {

                disable: false

                version: 3

                enable-ip-router-alert-option-check: false

                query-interval: 125

                query-last-member-interval: 1

                query-response-interval: 10

                robust-count: 2

           }

        }

      traceoptions {

          flag {

               all {

            disable: false

               }

          }

      }

    }

    pimsm4 {

      disable: false

      interface eth0 {

          vif eth0 {

            disable: false

            enable-ip-router-alert-option-check: false

            dr-priority: 1

            hello-period: 30

            hello-triggered-delay: 5

          }

      }

        interface eth1 {

            vif eth1 {

                disable: false

                enable-ip-router-alert-option-check: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

      interface register_vif {

          vif register_vif {

            /* Note: this vif should be always enabled */

            disable: false

          }

      }



      /* static-rps {

          rp 10.1.200.1 {

            group-prefix 224.0.0.0/4 {

                rp-priority: 192

                hash-mask-len: 30

            }

          }

      } */



      bootstrap {

            disable: false

            cand-bsr {

                  scope-zone 224.0.0.0/4 {

                        cand-bsr-by-vif-name: "eth1"

                        }

                  }

            cand-rp {

                  group-prefix 224.0.0.0/4 {

                        cand-rp-by-vif-name: "eth1"

                        }

                  }

      }



      switch-to-spt-threshold {

          /* approx. 1K bytes/s (10Kbps) threshold */

          disable: true

          interval: 100

          bytes: 102400

      }



      traceoptions {

          flag {

                all {

                disable: false

                }

          }

      }

    }



    fib2mrib {

      disable: false

    }

}

-- 
Hilal Chouman
هلال شومان
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20070315/0130733a/attachment-0001.html 


More information about the Xorp-users mailing list