[Xorp-users] PIM-SM

themaxxz@themaxxz.org themaxxz@themaxxz.org
Thu, 15 Dec 2005 21:21:07 +0100


Hi,

I'm trying to get a small network going as described on http://www.netcraftsmen.net/welcher/papers/multicast03.html

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