From 2e892eb38a9a474aafdd32530e5b4be09acc9ac4 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 13 Nov 2021 15:36:37 +0100 Subject: [PATCH] Extend ipv6 test for manual verification of issue #171 for now Signed-off-by: Joachim Wiberg --- test/ipv6.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/ipv6.sh b/test/ipv6.sh index 1f5ef6b7..6e298c92 100755 --- a/test/ipv6.sh +++ b/test/ipv6.sh @@ -13,6 +13,7 @@ topo basic ip addr add 2001:1::1/64 dev a1 ip addr add fc00::1/64 dev a1 ip addr add 2001:2::1/64 dev a2 +ip addr add 2001:2:3:4:6:7:12:1/64 dev a2 ip -br a print "Creating config ..." @@ -26,11 +27,13 @@ mroute from a1 source fc00::1 group ff04:0:0:0:0:0:0:114 to a2 mgroup from a1 group ff2e::42 mroute from a1 group ff2e::42 to a2 + +mroute from a1 group ff2e::7 to a2 EOF cat "/tmp/$NM/conf" print "Starting smcrouted ..." -../src/smcrouted -f "/tmp/$NM/conf" -n -N -P "/tmp/$NM/pid" -l debug -u "/tmp/$NM/sock" & +../src/smcrouted -c 5 -f "/tmp/$NM/conf" -n -N -P "/tmp/$NM/pid" -l debug -u "/tmp/$NM/sock" & sleep 1 echo "-----------------------------------------------------------------------------------" @@ -53,6 +56,7 @@ ping -6 -c 3 -W 1 -I fc00::1 -t 3 ff04::114 >/dev/null ping -6 -c 3 -W 1 -I 2001:1::1 -t 3 ff2e::42 >/dev/null ping -6 -c 3 -W 1 -I 2001:1::1 -t 3 ff2e::43 >/dev/null ping -6 -c 3 -W 1 -I fc00::1 -t 3 ff2e::44 >/dev/null +ping -6 -c 3 -W 1 -I 2001:2:3:4:6:7:12:1 -t 3 ff2e::7 >/dev/null show_mroute print "Analyzing ..." @@ -66,6 +70,9 @@ echo " => $lines2 for group ff2e::42, expected => 2" echo " => $lines3 for group ff2e::43, expected => 2" echo " => $lines4 for group ff2e::44, expected => 3" +sleep 10 +show_mroute + ########################################################################### DONE # one frame lost due to initial (*,G) -> (S,G) route setup # no frames lost in pure (S,G) route