[Xorp-users] XORP - Linux - Multicast setup help

Williams, Mark william at losrios.edu
Thu May 28 08:43:21 PDT 2009


You could use static RPs or the bootstrap mechanism. If you go with static,  you need to ensure that the RP set is consistent among all routers in the PIM domain. In your scenario, I would configure the Cisco as the BSR, and configure it as an RP-candidate for the ghost multicast group range 224.77.0.0/16, since the Cisco will be the DR for that group.

One problem that I see in your setup is the Xorp box does not have a route to the other side of the Cisco router, where your multicast sender is. This will cause problems when the Xorp system wants to send the source-specific join message back up the multicast tree. I'm not sure if you can use kernel routes, or if you will have to use a routing protocol within Xorp.

-Mark Williams

________________________________
From: xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org] On Behalf Of Lucky Stud
Sent: Friday, May 22, 2009 22:14
To: xorp-users at xorp.org
Subject: [Xorp-users] XORP - Linux - Multicast setup help

Hi,

I am trying to setup the xorp on a linux (RHEL4) machine with 3 interfaces which routes the traffic for two subnets (setup below). eth0 is directly connected to the a cisco router. I need to enable multicast routing in order to be able to use norton ghost and multicast to image the machines in the 192.0/26 and 192.64/26 subnets and also to receive a multicast video feed transmission from internet. cisco router is setup properly as I can use multicast on all other subnets that are directly connected to the cisco router. The two subnets behind the linux router are live ip and not natted.

I am not sure how to setup the static-rps and/or the bootstrap for the pimsm4 directive to get it to work properly. which interface needs to be the BSR or RP or just use the static rps.

Any advise is greatly appreciated.

I downloaded the latest version of xorp from official site, compiled and installed it.

Thanks.




[muulticast receivers]  192.0/26  ---------- [192.1 (eth1)  \
                                                                               |  XORP-linux router- 67.141 (eth0) ]-----------------------[ 67.129 Cisco Router ]-----------> out / multicast sender
[muulticast receivers]  192.64/26---------- [192.65 (eth2) /


route -n

192.0   0.0.0.0         255.255.255.192 U     0      0        0 eth1
192.64  0.0.0.0         255.255.255.192 U     0      0        0 eth2
67.128  0.0.0.0         255.255.255.192 U     0      0        0 eth0
0.0.0.0         142.204.67.129  0.0.0.0         UG    0      0        0 eth0

config.boot

interfaces {
   restore-original-config-on-shutdown: true;
    interface eth0 {
        default-system-config
    }

    interface eth1 {
        default-system-config
    }
    interface eth2 {
        default-system-config
    }

}

fea {
    unicast-forwarding4 {
        disable: false
    }
    unicast-forwarding6 {
        disable: true
    }
}

plumbing {
    mfea4 {
        disable: false
        interface eth0 {
            vif eth0 {
            }
        }
        interface eth1{
            vif eth1 {
            }
        }
        interface eth2{
            vif eth2 {
            }
        }
        interface register_vif {
            vif register_vif {
            }
        }
        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}


protocols {
    igmp {
        interface eth0 {
            vif eth0 {
            }
        }
        interface eth1 {
            vif eth1 {
            }
        }
        interface eth2 {
            vif eth2 {
            }
        }
        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}

protocols {
    pimsm4 {
        disable: false
        interface eth0 {
            vif eth0 {
            }
        }
        interface eth1 {
            vif eth1 {
            }
        }
        interface eth2 {
            vif eth2 {
            }
        }

        interface register_vif {
            vif register_vif {
            }
        }
/*
        static-rps {
            rp 142.204.67.129 {
                group-prefix 224.0.0.0/4<http://224.0.0.0/4> {
                }
            }
        }
*/

        bootstrap {
            disable: false
            cand-bsr {
                scope-zone 224.0.0.0/4<http://224.0.0.0/4> {
                    /* is-scope-zone: false */
                    cand-bsr-by-vif-name: "eth0"
                    /* cand-bsr-by-vif-addr: 10.10.10.10 */
                    /* bsr-priority: 1 */
                    /* hash-mask-len: 30 */
                }
            }

            cand-rp {
                group-prefix 224.0.0.0/4<http://224.0.0.0/4> {
                    /* is-scope-zone: false */
                    cand-rp-by-vif-name: "eth0"
                    /* cand-rp-by-vif-addr: 10.10.10.10 */
                    /* rp-priority: 192 */
                    /* rp-holdtime: 150 */
                }
            }
        }

        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}

protocols {
    fib2mrib {
    }
}







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090528/cbc58bb2/attachment-0001.html 


More information about the Xorp-users mailing list