]> git.entuzijast.net Git - imunes.git/commitdiff
A hack to allow multicast to work (to some extent) on FreeBSD -CURRENT:
authormarko <marko>
Tue, 14 Aug 2007 20:54:03 +0000 (20:54 +0000)
committermarko <marko>
Tue, 14 Aug 2007 20:54:03 +0000 (20:54 +0000)
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:

exec.tcl

index b9fc2c92db9364dd626a11ec61b50e6f49d56d45..bdf1b290968c3c69a2a9b0c059cd8bc1038b8015 100755 (executable)
--- 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
 }