[Xorp-users] Very simple multicast setup, yet can't find any text on how to do it!

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Sat Jan 17 14:30:41 PST 2009


> I enabled with pim-sm/6 in my xorp boot file, with multicast6.boot as base. I
> must say, especially the pim configuration part is complete hocus pocus to me
> (and I wouldn't even want to use it!)

Your config looks fine modulo the following:

 * Typically you need to enable more than one interface for
   multicast routing.
 * The multicast group prefix (fe05::/16) in the static-rps is
   invalid. It should be the prefix ff00::/8 (or a sub-prefix of
   it).

> Anyway, what I created doesn't work. It complains about "IPv6 multicast
> routing not supported" although I explicitly enabled it in the kernel config.

It seems like the ./configure script didn't discover that the system
supports IPv6 multicast routing. Please send file config.log which
was generated after ./configure was run. It should contain the
reason why ./configure didn't discover it.

Pavlin

> Here is my config.boot: (for the moment I solely use eth10 for testing)
> 
> ==================================================================
> 
> interfaces {
> 	interface eth10 {
> 		default-system-config
> 	}
> }
> 
> fea {
>      unicast-forwarding6 {
> 	disable: false
>      }
> }
> 
> protocols {
>      fib2mrib {
> 	disable: false
>      }
> }
> 
> protocols {
> 	mld {
> 		disable: false
> 
> 		interface eth10 {
> 			vif eth10 {
> 				disable: false
> 			}
> 		}
> 
> 		traceoptions {
> 			flag all {
> 				disable: false
> 			}
> 		}
> 	}
> }
> 
> protocols {
>      pimsm6 {
> 	interface eth10 {
> 	    vif eth10 {
> 		disable: false
> 	    }
> 	}
> 	interface register_vif {
> 	    vif register_vif {
> 		disable: false
> 	    }
> 	}
> 
> 	/* Note: static-rps and bootstrap should not be mixed */
> 	static-rps {
> 	    rp 2001:888:133a:199::1 {
> 		group-prefix fe05::/16 {
> 		}
> 	    }
> 	}
> /*
> 	bootstrap {
> 	    disable: false
> 	    cand-bsr {
> 		scope-zone ff00::/8 {
> 		    cand-bsr-by-vif-name: "dc0"
> 		}
> 	    }
> 	    cand-rp {
> 		group-prefix ff00::/8 {
> 		    cand-rp-by-vif-name: "dc0"
> 		}
> 	    }
> 	}
> */
> 
> 	switch-to-spt-threshold {
> 	    /* approx. 1K bytes/s (10Kbps) threshold */
> 	    disable: false
> 	    interval: 100
> 	    bytes: 102400
> 	}
> 
> 	traceoptions {
> 	    flag all {
> 		disable: false
> 	    }
> 	}
>      }
> }
> 
> plumbing {
> 	mfea6 {
> 		disable: false
> 		interface eth10 {
> 			vif eth10 {
> 			disable: false
> 			}
> 		}
> 
> 		interface register_vif {
> 			vif register_vif {
> 				disable: false
> 			}
> 		}
> 
> 		traceoptions {
> 			flag all {
> 				disable: false
> 			}
> 		}
> 	}
> }
> 
> ===================================================
> 
> Output of xorp_rtrmgr: (run as root)
> 
> ===================================================
> 
> artemis root:/home/erik/src/xorp/xorp-1.5/rtrmgr $ ./xorp_rtrmgr -b
> config.boot
> [ 2009/01/17 21:09:48  INFO xorp_rtrmgr:22089 RTRMGR +239 master_conf_tree.cc
> execute ] Changed modules: interfaces, firewall, fea, mfea6, mld, rib,
> fib2mrib, pimsm6
> [ 2009/01/17 21:09:48  INFO xorp_rtrmgr:22089 RTRMGR +96 module_manager.cc
> execute ] Executing module: interfaces (fea/xorp_fea)
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] MFEA enabled
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] CLI enabled
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] CLI started
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] MFEA enabled
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] CLI enabled
> [ 2009/01/17 21:09:49 INFO xorp_fea MFEA ] CLI started
> [ 2009/01/17 21:09:50  INFO xorp_rtrmgr:22089 RTRMGR +96 module_manager.cc
> execute ] Executing module: firewall (fea/xorp_fea)
> [ 2009/01/17 21:09:54  INFO xorp_rtrmgr:22089 RTRMGR +96 module_manager.cc
> execute ] Executing module: fea (fea/xorp_fea)
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +96 module_manager.cc
> execute ] Executing module: mfea6 (fea/xorp_fea)
> [ 2009/01/17 21:10:00 INFO xorp_fea MFEA ] Interface added: Vif[eth10]
> pif_index: 3 vif_index: 0 addr: 2001:888:133a:110::1 subnet:
> 2001:888:133a:110::/64 broadcast: :: peer: :: addr: fe80::204:23ff:feaa:a983
> subnet: fe80::/64 broadcast: :: peer: :: Flags: MULTICAST BROADCAST
> UNDERLYING_VIF_UP MTU: 1500
> [ 2009/01/17 21:10:00  ERROR xorp_fea:22090 MFEA +776 mfea_mrouter.cc
> start_mrt ] start_mrt() failed: IPv6 multicast routing not supported
> [ 2009/01/17 21:10:00 INFO xorp_fea MFEA ] MFEA started
> [ 2009/01/17 21:10:00 INFO xorp_fea MFEA ] Interface enabled Vif[eth10]
> pif_index: 3 vif_index: 0 addr: 2001:888:133a:110::1 subnet:
> 2001:888:133a:110::/64 broadcast: :: peer: :: addr: fe80::204:23ff:feaa:a983
> subnet: fe80::/64 broadcast: :: peer: :: Flags: MULTICAST BROADCAST
> UNDERLYING_VIF_UP MTU: 1500 DOWN IPv6 ENABLED
> [ 2009/01/17 21:10:00  ERROR xorp_fea:22090 MFEA +1181 mfea_mrouter.cc
> add_multicast_vif ] add_multicast_vif() failed: IPv6 multicast routing not
> supported
> [ 2009/01/17 21:10:00  ERROR xorp_fea:22090 MFEA +1186 mfea_node.cc start_vif
> ] Cannot start vif eth10: cannot add the multicast vif to the kernel
> [ 2009/01/17 21:10:00 WARNING xorp_fea XrlMfeaTarget ] Handling method for
> mfea/0.1/start_vif failed: XrlCmdError 102 Command failed Cannot start vif
> eth10: cannot add the multicast vif to the kernel
> [ 2009/01/17 21:10:00  ERROR xorp_rtrmgr:22089 RTRMGR +681 master_conf_tree.cc
> commit_pass2_done ] Commit failed: 102 Command failed Cannot start vif eth10:
> cannot add the multicast vif to the kernel
> [ 2009/01/17 21:10:00  ERROR xorp_rtrmgr:22089 RTRMGR +251 master_conf_tree.cc
> config_done ] Configuration failed: 102 Command failed Cannot start vif eth10:
> cannot add the multicast vif to the kernel
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +2228 task.cc run_task ]
> No more tasks to run
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: fea
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: firewall
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: interfaces
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: mfea6
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +194 module_manager.cc
> terminate ] Killing module: mfea6
> [ 2009/01/17 21:10:00  ERROR xorp_rtrmgr:22089 RTRMGR +747 module_manager.cc
> done_cb ] Command "/home/erik/src/xorp/xorp-1.5/fea/xorp_fea": terminated with
> signal 15.
> [ 2009/01/17 21:10:00  INFO xorp_rtrmgr:22089 RTRMGR +282 module_manager.cc
> module_exited ] Module killed during shutdown: mfea6
> 
> ============================================================
> 
> For completeness:
> 
> artemis root:/home/erik/src/xorp/xorp-1.5/rtrmgr $ ip -6 addr show eth10
> 3: eth10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
>      inet6 2001:888:133a:110::1/64 scope global
>         valid_lft forever preferred_lft forever
>      inet6 fe80::204:23ff:feaa:a983/64 scope link
>         valid_lft forever preferred_lft forever
> 
> The multicast group address to be used is fe05::1
> _______________________________________________
> 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