...
 
Commits (1)
......@@ -12,6 +12,7 @@ ln -s ../cfg/bird6_${1}.conf bird6.conf
sleep .2
# LINE
./bird4 -c bird4.conf -s bird4.sock &
./bird6 -c bird6.conf -s bird6.sock &
......@@ -21,3 +22,12 @@ sleep .2
# valgrind --track-origins=yes --log-file=valgrind4.log --leak-check=full --tool=memcheck --time-stamp=yes --leak-resolution=high --num-callers=40 ./bird4 -c bird4.conf -s bird4.sock -d -D bird4.log &
# valgrind --track-origins=yes --log-file=valgrind6.log --leak-check=full --tool=memcheck --time-stamp=yes --leak-resolution=high --num-callers=40 ./bird6 -c bird6.conf -s bird6.sock -d -D bird6.log &
## STAR
#if [ "${1}" = "m1" ]
#then
# # MASTER NODE
# ./bird4 -c bird4.conf -s bird4.sock -d -D bird4.log -P bird4.pid &
#else
# # REST NODES
# ./bird4 -c bird4.conf -s bird4.sock -d -D bird4.log -P bird4.pid &
#fi
......@@ -62,8 +62,16 @@ done
for((i = 1; i < NETLAB_SIZE; i++))
do
# LINE
if_veth $(eval echo \$m$i) ve1 $(eval echo \$m$((i+1))) ve2 10.0.$i
if_veth6 $(eval echo \$m$i) ve1 $(eval echo \$m$((i+1))) ve2 2001:db8:$i
# # STAR
# if [ $i -ne 1 ]
# then
# if_veth $(eval echo \$m$i) ve1 m1 ve2 10.0.$i
# if_veth6 $(eval echo \$m$i) ve1 m1 ve2 2001:db8:$i
# fi
done
netlab_start