From: marko Date: Tue, 14 Aug 2007 20:54:03 +0000 (+0000) Subject: A hack to allow multicast to work (to some extent) on FreeBSD -CURRENT: X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=22937baabf275c9c7dff4dd5e2c167719feafece;p=imunes.git A hack to allow multicast to work (to some extent) on FreeBSD -CURRENT: add a route to 224.0.0.0/4 over our loopback interface. This seems necessary to allow any multicast traffic to be transmitted out of the machine / virtual nodes, and in particular allows RIP to work with XORP. OTOH, for reasons beyond my willingless for further investigation, quagga does not even properly open multicast sockets for RIP, regardless whether using quagga built from the ports collection, or using a package built for 6.2-RELEASE in compatibility mode :( Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- diff --git a/exec.tcl b/exec.tcl index b9fc2c9..bdf1b29 100755 --- a/exec.tcl +++ b/exec.tcl @@ -1,4 +1,4 @@ -# $Id: exec.tcl,v 1.52 2007/08/13 07:16:11 marko Exp $ +# $Id: exec.tcl,v 1.53 2007/08/14 20:54:03 marko Exp $ # Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved. # @@ -303,6 +303,7 @@ proc l3node.instantiate { eid node } { nexec vimage $node_id sysctl net.inet.icmp.bmcastecho=1 nexec vimage $node_id sysctl net.inet.icmp.icmplim=0 nexec vimage $node_id ifconfig lo0 inet localhost + nexec vimage $node_id route add 224.0.0.0/4 localhost }