[Xorp-users] PIM-SM

Pavlin Radoslavov pavlin@icir.org
Thu, 15 Dec 2005 18:13:01 -0800


In your config you are using the loopback "lo" interface to
configure the Cand-RP/Cand-BSR. I'd recommend that you use eth0 or
eth1 instead. If "lo" is not enabled inside the pimsm4
configuration, then you shouldn't be able to use it for any other
PIM-SM purpose (the fact that it was used temporarily on startup is
probably a bug).

On the other hand, I wouldn't recommend enabling the loopback
interface inside PIM-SM, because then you would have to enable it
inside the "igmp" and "mfea4" sections, and the result for that may
be unpredictable: it _may_ work, but I have never tested it so it is
safer to stick with what is known to work.

Pavlin

> The BSR & RP router is configured as below:
> 
> /*XORP Configuration File, v1.0*/
> interfaces {
>     interface eth0 {
>         description: "??"
>         vif eth0 {
>             disable: false
>             address 192.168.4.2 {
>                 prefix-length: 24
>                 disable: false
>                 broadcast: 192.168.4.255
>             }
>         }
>         disable: false
>         discard: false
>     }
>     interface eth1 {
>         description: "??"
>         vif eth1 {
>             disable: false
>             address 192.168.6.2 {
>                 prefix-length: 24
>                 disable: false
>                 broadcast: 192.168.6.255
>             }
>         }
>         disable: false
>         discard: false
>     }
>     interface lo {
>         description: "Loopback interface"
>         vif lo {
>             disable: false
>             address 1.1.1.1 {
>                 prefix-length: 32
>                 disable: false
>             }
>         }
>         disable: false
>         discard: false
>     }
>     targetname: "fea"
> }
> protocols {
>     static {
>         route4 0.0.0.0/0 {
>             next-hop: 192.168.4.1
>             metric: 1
>         }
>         targetname: "static_routes"
>         disable: false
>     }
>     igmp {
>         targetname: "IGMP"
>         disable: false
>         interface eth0 {
>             vif eth0 {
>                 disable: false
>             }
>         }
>         interface eth1 {
>             vif eth1 {
>                 disable: false
>             }
>         }
>         traceoptions {
>             flag {
>                 all {
>                     disable: true
>                 }
>             }
>         }
>     }
>     pimsm4 {
>         targetname: "PIMSM_4"
>         disable: false
>         interface eth0 {
>             vif eth0 {
>                 disable: false
>                 dr-priority: 1
>             }
>         }
>         interface eth1 {
>             vif eth1 {
>                 disable: false
>                 dr-priority: 1
>             }
>         }
>         interface register_vif {
>             vif register_vif {
>                 disable: false
>                 dr-priority: 1
>             }
>         }
>         bootstrap {
>             disable: false
>             cand-rp {
>                 group-prefix 224.0.0.0/4 {
>                     is-scope-zone: false
>                     rp-priority: 192
>                     rp-holdtime: 150
>                     cand-rp-by-vif-name: "lo"
>                 }
>             }
>             cand-bsr {
>                 scope-zone 224.0.0.0/4 {
>                     is-scope-zone: false
>                     bsr-priority: 1
>                     hash-mask-len: 30
>                     cand-bsr-by-vif-name: "lo"
>                 }
>             }
>         }
>         traceoptions {
>             flag {
>                 all {
>                     disable: false
>                 }
>             }
>         }
>     }
>     fib2mrib {
>         disable: false
>     }
> }
> plumbing {
>     mfea4 {
>         targetname: "MFEA_4"
>         disable: false
>         interface eth0 {
>             vif eth0 {
>                 disable: false
>             }
>         }
>         interface eth1 {
>             vif eth1 {
>                 disable: false
>             }
>         }
>         interface register_vif {
>             vif register_vif {
>                 disable: false
>             }
>         }
>         traceoptions {
>             flag {
>                 all {
>                     disable: true
>                 }
>             }
>         }
>     }
> }
> fea {
>     unicast-forwarding4 {
>         disable: false
>     }
>     targetname: "fea"
> }
> 
> Shortly after startup I see on a neighbor router
> 
> Xorp> show pim rps   
> RP              Type      Pri Holdtime Timeout ActiveGroups GroupPrefix       
> 1.1.1.1         bootstrap 192      150     132            0 224.0.0.0/4     
> 
> Xorp> show pim bootstrap   
> Active zones:
> BSR             Pri LocalAddress    Pri State           Timeout SZTimeout
> 1.1.1.1           1 0.0.0.0           0 AcceptPreferred      26      1196
> 
> But after a while these entries fanish after the Timeout and SZTimeout
> 
> However I regulary see incoming bootstrap messages from Elected BSR, so the Timeouts should be reset shouldnt they?
> 
> [ 2005/12/16 08:45:43 TRACE xorp_pimsm4 PIM ] RX PIM_BOOTSTRAP from 192.168.4.2 to 224.0.0.13 on vif eth2
> 
> What am I missing?
> 
> Thanks,
> 
> TM
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users