[Xorp-users] Multicast routing

Leandro Castanheira lleandro at gmail.com
Thu Nov 9 12:28:41 PST 2006


Hi.
I have tried to configure my xorp to routing multicast packges, but
something is going wrong.
Well, I have one router that have 2 interfaces, eth0(200.77.0.2) other to
the internet and eth1(192.168.0.1)  . I have another router link to the
first eth1(192.168.0.1) router by the its eth1 (192.168.0.86) and your
another interface is eth0(192.168.2.1). Both ara running Xorp with the files
configuration below. I had one computer link to the second router by subnet
192.168.2.0/24 with ip (192.168.2.2), who is streaming a movie by VLC to the
group 239.255.12.42. And I trying to recieve this streaming by another
computer who has this eth0 IP (200.77.0.5). But it does't work. If I stream
from another computer from subnet 192.168.0.0/24 like the
192.168.0.21computer, I can recieve in both, the one which has the ip
(
192.168.2.2) and the one which has the (200.77.0.5). And I can ping the
200.77.0.5 from the 192.168.2.2.
What can I do to stream from 192.168.2.2 an recieve in 200.77.0.5

Thanks,
Leandro

Files:
***********************************************************************************************
First router (200.17.0.2)
***********************************************************************************************
/*XORP Configuration File*/
interfaces {
    interface eth0 {
        description: "Ethernet"
        disable: false
        vif eth0 {
                disable: false
                address 200.17.0.2 {
                        prefix-length: 24
                        broadcast: 200.17.77.255
                        disable: false
                }
        }
    }
    interface eth1 {
        description: "Ethernet"
        disable: false
        vif eth1 {
                disable: false
                address 192.168.0.1 {
                        prefix-length: 24
                        broadcast: 192.168.0.255
                        disable: false
                }
         }
    }
    interface lo {
        description: "Loopback interface"
        vif lo {
        }
    }
}
fea{
   unicast-forwarding4 {
        disable: false
    }

 }


plumbing {
    mfea4 {
        disable: false
        interface eth0 {
            vif eth0 {
                disable: false
            }
        }

        interface eth1 {
            vif eth1 {
                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 eth0 {
            vif eth0 {
                disable: false
                /* version: 2 */
                /* enable-ip-router-alert-option-check: false */
                /* query-interval: 125 */
                /* query-last-member-interval: 1 */
                /* query-response-interval: 10 */
                /* robust-count: 2 */
            }
        }
        interface eth1 {
            vif eth1 {
                disable: false
                /* version: 2 */
                /* enable-ip-router-alert-option-check: false */
                /* query-interval: 125 */
                /* query-last-member-interval: 1 */
                /* query-response-interval: 10 */
                /* robust-count: 2 */
            }
        }
        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}
protocols {
    pimsm4 {
        disable: false
        interface eth0 {
            vif eth0 {
                disable: false
                /* enable-ip-router-alert-option-check: false */
                /* dr-priority: 1 */
                /* hello-period: 30 */
                /* hello-triggered-delay: 5 */
                /* alternative-subnet 10.40.0.0/16 */
            }
        }
        interface eth1 {
            vif eth1 {
                disable: false
                /* enable-ip-router-alert-option-check: false */
                /* dr-priority: 1 */
                /* hello-period: 30 */
                /* hello-triggered-delay: 5 */
                /* alternative-subnet 10.40.0.0/16 */
            }
        }
        interface register_vif {
            vif register_vif {
                /* Note: this vif should be always enabled */
                disable: false
            }
        }

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

        bootstrap {
            disable: false
            cand-bsr {
                scope-zone 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 {
                    /* 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 */
        /*      }
            }
        }
*/
        switch-to-spt-threshold {
            /* approx. 1K bytes/s (10Kbps) threshold */
            disable: false
            interval: 100
            bytes: 102400
        }

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

***********************************************************************************************
Second router 192.168.2.1
***********************************************************************************************
/*XORP Configuration File*/
interfaces {
    interface eth0 {
        description: "Ethernet"
        disable: false
        vif eth0 {
                disable: false
                address 192.168.2.1 {
                        prefix-length: 24
                        broadcast: 192.168.2.255
                        disable: false
                }
        }
    }
    interface eth1 {
        description: "Ethernet"
        disable: false
        vif eth1 {
                disable: false
                address 192.168.0.86 {
                        prefix-length: 24
                        broadcast: 192.168.0.255
                        disable: false
                }
         }
    }
    interface lo {
        description: "Loopback interface"
        vif lo {
        }
    }
}
fea{
   unicast-forwarding4 {
        disable: false
    }

 }

plumbing {
    mfea4 {
        disable: false
        interface eth0 {
            vif eth0 {
                disable: false
            }
        }

        interface eth1 {
            vif eth1 {
                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 eth0 {
            vif eth0 {
                disable: false
                /* version: 2 */
                /* enable-ip-router-alert-option-check: false */
                /* query-interval: 125 */
                /* query-last-member-interval: 1 */
                /* query-response-interval: 10 */
                /* robust-count: 2 */
            }
        }
        interface eth1 {
            vif eth1 {
                disable: false
                /* version: 2 */
                /* enable-ip-router-alert-option-check: false */
                /* query-interval: 125 */
                /* query-last-member-interval: 1 */
                /* query-response-interval: 10 */
                /* robust-count: 2 */
            }
        }
        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}
protocols {
    pimsm4 {
        disable: false
        interface eth0 {
            vif eth0 {
                disable: false
                /* enable-ip-router-alert-option-check: false */
                /* dr-priority: 1 */
                /* hello-period: 30 */
                /* hello-triggered-delay: 5 */
                /* alternative-subnet 10.40.0.0/16 */
            }
        }
        interface eth1 {
            vif eth1 {
                disable: false
                /* enable-ip-router-alert-option-check: false */
                /* dr-priority: 1 */
                /* hello-period: 30 */
                /* hello-triggered-delay: 5 */
                /* alternative-subnet 10.40.0.0/16 */
            }
        }
        interface register_vif {
            vif register_vif {
                /* Note: this vif should be always enabled */
                disable: false
            }
        }

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

        bootstrap {
            disable: false
            cand-bsr {
                scope-zone 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 {
                    /* 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 */
        /*      }
            }
        }
*/
        switch-to-spt-threshold {
            /* approx. 1K bytes/s (10Kbps) threshold */
            disable: false
            interval: 100
            bytes: 102400
        }

        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20061109/c77add7e/attachment-0001.html 


More information about the Xorp-users mailing list