vMX

Expand all | Collapse all

Running PIM Auto-RP on LSY inside vMX

Jump to Best Answer
  • 1.  Running PIM Auto-RP on LSY inside vMX

    Posted 01-07-2020 08:40

    Hello,

      I'm trying to running PIM Auto-RP on LSY using vMX as shown in below diagramPIM-Auto-rp.png

    Configuration on Protocol PIM level on OBALA/vR1 & EVODOULA/vR1 is the following

    show configuration protocols pim
    dense-groups {
    239.7.7.7/32;
    239.8.8.8/32;
    }
    rp {

    local address 192.168.1.1 # for OBALA vR1  and  192.168.2.1 for EVODOULA vR1
    auto-rp mapping;
    }
    interface all {
    mode sparse-dense;
    version 2;
    }

    Configuration on Protocol PIM level on OBALA/vR2 & EVODOULA/vR2 is  the following

    dense-groups {
    239.7.7.7/32;
    239.8.8.8/32;
    }
    rp {
    auto-rp discovery;
    }
    interface all {
    mode sparse-dense;
    version 2;
    }

     

    But  while checking rps 

    root@OBALA:vR1> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.1.1 static sparse 150 None 0 224.0.0.0/4

     

    root@EVODOULA:vR1> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.2.1 static sparse 150 None 0 224.0.0.0/4

    address-family INET6

    on both vR2 

    show pim rps
    Instance: PIM.master

    address-family INET

    address-family INET6

    root@EVODOULA:vR2>

    Thank to help me to point on what is wrong ... 😉



  • 2.  RE: Running PIM Auto-RP on LSY inside vMX
    Best Answer

     
    Posted 01-07-2020 13:39

    Hi Besscou,

     

    Can you please add following dense-groups under protocol pim:

     

    set protocols pim dense-groups 224.0.1.39/32
    set protocols pim dense-groups 224.0.1.40/32

     

    Auto-RP requires multicast flooding to announce potential RP candidates and to discover the elected RPs in the network. Multicast flooding occurs through a PIM dense mode model, where group 224.0.1.39 is used for announce messages and group 224.0.1.40 is used for discovery messages.

     

    Ref Link: https://www.juniper.net/documentation/en_US/junos/topics/topic-map/mcast-pim-auto-rp.html

     

    PS: Please accept my answer as solution if it answers your query, kudos are appreciated too!

     

    Thanks
    Vishal



  • 3.  RE: Running PIM Auto-RP on LSY inside vMX

    Posted 01-08-2020 07:20

    Hello vlsingh,

      As you suggested , I added dense-group 224.0.1.39/32 and 224.0.1.40/32  on all PIM routers of my PIM domain.

     Below an example:

    root@EVODOULA:vR1> show configuration protocols pim
    dense-groups {
    224.0.1.39/32;
    224.0.1.40/32;
    }
    rp {
    auto-rp mapping;
    }
    interface all {
    mode sparse-dense;
    version 2;
    }

    root@EVODOULA:vR1> show pim rps
    Instance: PIM.master

    address-family INET

    address-family INET6

    root@EVODOULA:vR1>

    As you can  see no change ... 



  • 4.  RE: Running PIM Auto-RP on LSY inside vMX

    Posted 01-08-2020 07:44

    Hi Vlsingh,

    I added loopback address of each RP devices on protocol pim rp local address as shown below 

    New config

    root@OBALA:vR1> show configuration protocols pim
    dense-groups {
    224.0.1.39/32;
    224.0.1.40/32;
    }
    rp {
    local {
    address 192.168.1.1;
    }
    auto-rp mapping;
    }
    interface all {
    mode sparse-dense;
    }

    root@EVODOULA:vR1> show configuration protocols pim
    dense-groups {
    224.0.1.39/32;
    224.0.1.40/32;
    }
    rp {
    local {
    address 192.168.2.1;
    }
    auto-rp mapping;
    }
    interface all {
    mode sparse-dense;
    version 2;
    }

    Results

    root@EVODOULA:vR1> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.2.1 auto-rp sparse 150 145 3 224.0.0.0/4
    192.168.2.1 static sparse 150 None 3 224.0.0.0/4

    address-family INET6

    root@OBALA:vR1> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.2.1 auto-rp sparse 150 149 0 224.0.0.0/4
    192.168.1.1 static sparse 150 None 0 224.0.0.0/4

    address-family INET6

    root@OBALA:vR2> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.2.1 auto-rp sparse 150 110 3 224.0.0.0/4

    address-family INET6

     

    root@EVODOULA:vR2> show pim rps
    Instance: PIM.master

    address-family INET
    RP address Type Mode Holdtime Timeout Groups Group prefixes
    192.168.2.1 auto-rp sparse 150 128 3 224.0.0.0/4

    address-family INET6

    Everything is OK ! Thanks to have shared the link 



  • 5.  RE: Running PIM Auto-RP on LSY inside vMX

     
    Posted 01-08-2020 07:53

    Hi Besscou,

    Thanks for the update. I was about to update that I don't see any rp address configuration. Gald that you already caught it.

    If you think one of my responses helped to solve your query, please accept that response as solution.

     

    Kudos are appreciated too!

    Thanks
    Vishal