Doyle/Carroll also do a great job explaining this in Routing TCP/IP Volume 2. If you do not have access, search Google with the following terms:
hash-mask-length doyle
You should receive a Google Books excerpt.
On Jul 2, 2010, at 1:04 PM, Muzammil Malick wrote:
> Hi
> Err will we asked to be calculate the hash-mask-length value in:
> ip pim bsr-candidate [hash-mask-length] [priority]
> Because the following just goes way over my head:
>
> Input: Group Address (G), RP-Set (R1, R2 Rn), Mask. This information
> is used as the input to the hash funcation. R1, R2.. Rn are IP
> addresses of the RPs mapped to the Group address G. The Mask is
> calculated based on the mask-length distributed by the BSR.
>
> 1) Among the routers in RP-Set, select those that have numerically
> lowest priority values. By default all cRPs advertise priority of
> zero, so they all are eligible.
>
> 2) For every RP IP address, calculate the hash function value:
>
> value1 = Hash(G&Mask, R1),
> value2 = Hash(G&Mask, R2)
> valueN = Hash(G&Mask,Rn).
>
> Anthony forgive my ignorance here but I cant quite grasp what you are
> saying in step 1 and 2.
>
> On 2 July 2010 07:43, Gabriel Adam Kujawski <gabriel_at_brama.waw.pl> wrote:
>>
>> IMHO you should also take a look at RFC4601
>> (http://tinyurl.com/348slwc)
>>
>> Take a closer look at point "4.7.2 Hash Function".
>>
>> --
>> BRs
>> Gab
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Fri Jul 02 2010 - 13:48:51 ART
This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 19:19:15 ART