[Xorp-users] multicast routing not working

Dr Ben G Wu ben at sparkcomputing.co.uk
Wed Jun 18 17:34:15 PDT 2008


Hello,
I just found xorp 2 days ago and try to setup a multicast network. The
source is at 192.168.1.0/24 subnet and the multicast subscribers are
in 192.168.2.0/24 subnet. Centos 5 is running xorp with 2 physical
interfaces connecting the 2 subnets.

xorp is installed and xorp_rtrmgr running fine. The src is playing a
stream on 244.0.0.1:1234 using vcl player.  but the client could not
connect to 244.0.0.1.  the command " show mfea dataflow" returns
nothing.

My configuration file is as below.

-------started-----
interfaces {
     restore-original-config-on-shutdown: false
    interface eth2 {
        description: "vlan2"
        default-system-config
    }
    interface eth1 {
        description: "vlan11"
        default-system-config
    }
}

fea {
     unicast-forwarding4 {
        disable: false
        forwarding-entries {
            retain-on-startup: false
            retain-on-shutdown: false
        }
    }

}


plumbing {
    mfea4 {
        disable: false
        interface eth1 {
            vif eth1 {
                 disable: false
            }
        }
        interface eth2 {
            vif eth2 {
                 disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                /* Note: this vif should be always enabled */
                 disable: false
            }
        }
        traceoptions {
            flag all {
                 disable: false
            }
        }
    }
}

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

protocols {
    pimsm4 {
        disable: false
        interface eth2 {
            vif eth2 {
                 disable: false
            }
        }
        interface eth1 {
            vif eth1 {
                 disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                /* Note: this vif should be always enabled */
                 disable: false
            }
        }

        static-rps {
            rp 192.168.1.1 {
                group-prefix 224.0.0.0/4 {
                    /*rp-priority: 192
                    hash-mask-len: 30*/
                }
            }
            rp 192.168.2.1 {
                group-prefix 224.0.0.0/4 {
                    rp-priority: 192
                    hash-mask-len: 30
                }
            }
        }


         switch-to-spt-threshold {
            /* approx. 1K bytes/s (10Kbps) threshold */
            disable: false
            interval: 100
            bytes: 102400
        }
        traceoptions {
            flag all {
                 disable: false
            }
        }
    }
}

protocols {
    fib2mrib {
        disable: false
    }
}


policy {
    /* Describe connected routes for redistribution */
    policy-statement connected {
        term export {
            from {
                protocol: "connected"
            }
        }
    }
}

policy {
    /* Describe static routes for redistribution */
    policy-statement static {
        term export { from {
                protocol: "static"
            }
        }
    }
}


protocols {
    rip {

/* Connected interfaces will only be advertised if explicitly exported */
        export: "connected"

/* Run on specified network interface addresses */
        interface eth1 {
            vif eth1 {
                address 192.168.1.1 {
                    disable: false
/*
                    authentication {
                        simple-password: "password";
                        md5 @: u32 {
                            password: "password";
                            start-time: "2006-01-01.12:00"
                            end-time: "2007-01-01.12:00"
                        }
                    }
*/
                }
            }
        }
        interface eth2 {
            vif eth2 {
                address 192.168.2.1 {
                    disable: false
                }
            }
  }

protocols {
    static {
        disable: false
        route 192.168.110.0/24 {
            next-hop: 192.168.110.1
            metric: 1
        }
   mrib-route 192.168.1.0/24 {
        next-hop:  192.168.1.1
        metric: 1
        }
   mrib-route 192.168.2.0/24 {
        next-hop:  192.168.2.1
        metric: 1
        }

}
}

----ended-------



-- 
Dr. Ben G Wu, Ph.D, B. Eng, M.BCS
5 Dargate, Shrewsbury, Shropshire, SY3 9QE, UK
T: +44(0)1743 290009
M: +44(0) 7980546757
F: +44(0)7092 861166
W: http://www.sparkcomputing.co.uk

Website & Software development



More information about the Xorp-users mailing list