5 # Skip this test if we aren't root
7 test "`id -u`" = "0" || exit 77
14 set Interface ping.test
19 cat >$d1/tinc-up <<EOF
21 ifconfig \$INTERFACE up
27 set DeviceType multicast
28 set Device 233.252.0.1 32754
32 # Exchange configuration files
34 $tinc $c1 export | $tinc $c2 exchange | $tinc $c1 import
36 # Ensure we have a working multicast route
38 ip route replace 233.252.0.0/16 dev lo
40 # Start pong program in background
42 ./pong 233.252.0.1 32754 10.6.5.5 &
45 # Start tinc and try to ping
52 ping -r -I ping.test -c3 10.6.5.5