[Xorp-users] Error in Multicast router setup on Linux machine

Pavlin Radoslavov pavlin at icir.org
Fri May 12 08:27:57 PDT 2006


> Recently i have intalled xorp on my Suse Linux machine.
> I have two network cards in my machine. One card is on 192.168.1.XX
> Lan & the other is on 10.0.1.XX lan. My machine ip is 192.168.1.206
> I have installed xorp by compling the source code. There were no
> errors during compiling.
> Below is my xorp configuration file.
> xorp is running.
> 
> I was broadcasting a media file to the address 239.255.42.43 from one
> of the machine with ip address 192.168.1.60. And im trying to connect
> multicast address using player from another machine which is on
> 10.0.1.XX nettwork.
> 
> I was unable to receive the packets. I couldnt see the log messages
> that membership is added or left from the group.
> 
> Please can anyone help me is solving this problem.

You need to configure the second interface (eth1?) as well.

Also, because you are using the Bootstrap mechanism, on startup it
may take up to 2-3 minutes or so until the Bootstrap information is
converged and you can forward traffic. For testing purpose, you can
use static-rp instead (set to your own IP address) and then you
don't have to wait that long on startup.

Few other potential issues to watch for:
* Make sure the sender's TTL is large enough to reach the
  receiver. The default multicast TTL is 1 and such packets won't be
  forwarded.
* If the appropriate multicast forwarding entry is in the kernel,
  but forwarding still doesn't work, then check your firewall rules.

BTW, given that you haven't configured the "static" routes, you
don't need the "static" policy statement, but this is orthogonal to
the multicast routing.

Hope that helps,
Pavlin


> ##########XORP Configuration file#############
> * $XORP: xorp/rtrmgr/config.boot.sample,v 1.35 2006/03/09 12:18:20
> pavlin Exp $ */
> 
> 
> interfaces {
>     restore-original-config-on-shutdown: false
>     interface eth0 {
>         description: "data interface"
>         disable: false
>         default-system-config
>     }
> }
> 
> 
> 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 eth0 {
>             vif eth0 {
>                 address 192.168.1.206 {
>                     disable: false
>                 }
>             }
>         }
>     }
> }lumbing {
>     mfea4 {
>         disable: false
>         interface eth0 {
>             vif eth0 {
>                 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
>             }
>         }
>         traceoptions {
>             flag all {
>                 disable: false
>             }
>         }
>     }
> }
> 
> 
> fea {
>     unicast-forwarding4 {
>         disable: false
>     }
> /*
>     unicast-forwarding6 {
>         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 register_vif {
>             vif register_vif {
>                 /* Note: this vif should be always enabled */
>                 disable: false
>             }
>         }
> 
> 
>         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-sec: 100
>             bytes: 102400
>         }
> 
>         traceoptions {
>             flag all {
>                 disable: false
>             }
>         }
>     }
> }
> /*
>  * Note: fib2mrib is needed for multicast only if the unicast protocols
>  * don't populate the MRIB with multicast-specific routes.
>  */
> protocols {
>     fib2mrib {
>         disable: false
>     }
> }
> 
> 
> Any help could me appreciated.
> 
> Thanks & Regards,
> Pradeep
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list