Commit 40d522de authored by Mike Hibler's avatar Mike Hibler

Add a multicast route for frisbee in rc.conf setup.

parent 8aa31d65
......@@ -42,6 +42,7 @@ my $USERNODE_IP= '@USERNODE_IP@';
my $FSNODE_IP= '@FSNODE_IP@';
my $SCRATCHDIR = '@FSDIR_SCRATCH@';
my $SHAREDIR = '@FSDIR_SHARE@';
my $FRISADDR = '@FRISBEEMCASTADDR@';
#
# Fixed paths for clients
......@@ -929,6 +930,12 @@ Phase "rc.conf", "Adding testbed content to $RCCONF", sub {
qq|named_uid="root"|,
qq|named_pidfile="$NAMED_PIDFILE"|));
}
# add multicast route for frisbee
my ($o1) = split(/\./, $FRISADDR);
push(@strings, (qq|static_routes="\$static_routes frisbee"|,
qq|route_frisbee="-net $o1.0.0.0/8 -iface $BOSSNODE_IP"|));
AppendToFileFatal($RCCONF, @strings);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment