Lines Matching defs:run_cmd
13 run_cmd()
220 run_cmd $h1 "traceroute6 2000:103::4 | grep -q 2000:102::2"
324 run_cmd "$h1" "traceroute6 2000:103::4 | grep 2000:102::2"
387 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep INC"
391 run_cmd "$r1" "bash -c \"echo 0x01 > /proc/sys/net/ipv6/icmp/errors_extension_mask\""
394 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep INC"
398 run_cmd "$r1" "bash -c \"echo 0x00 > /proc/sys/net/ipv6/icmp/errors_extension_mask\""
401 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep INC"
405 run_cmd "$r1" "sysctl -w net.ipv6.icmp.errors_extension_mask=0x01"
407 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep '<INC:$r1_ifindex,\"eth1\",mtu=1500>'"
410 run_cmd "$h2" "sysctl -w net.ipv6.icmp.errors_extension_mask=0x01"
412 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep '<INC:$h2_ifindex,\"eth2\",mtu=1500>'"
417 run_cmd "$r1" "ip address add 2001:db8:100::1/64 dev eth1 nodad"
418 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep '<INC:$r1_ifindex,2001:db8:100::1,\"eth1\",mtu=1500>'"
420 run_cmd "$r1" "ip address del 2001:db8:100::1/64 dev eth1"
423 run_cmd "$r1" "ip link set dev eth1 name eth1tag mtu 1501"
424 run_cmd "$h1" "traceroute6 -e 2001:db8:1::3 $pkt_len | grep '<INC:$r1_ifindex,\"eth1tag\",mtu=1501>'"
426 run_cmd "$r1" "ip link set dev eth1tag name eth1 mtu 1500"
428 run_cmd "$r1" "sysctl -w net.ipv6.icmp.errors_extension_mask=0x00"
429 run_cmd "$h2" "sysctl -w net.ipv6.icmp.errors_extension_mask=0x00"
447 run_cmd "$h1" "sysctl net.ipv6.icmp.errors_extension_mask | grep \"= 0$\""
452 run_cmd "$h1" "bash -c \"echo 0x80 > /proc/sys/net/ipv6/icmp/errors_extension_mask\""
528 run_cmd "$h1" "traceroute -s 1.0.1.3 1.0.2.4 | grep -q 1.0.1.1"
530 run_cmd "$h1" "traceroute -s 1.0.3.3 1.0.2.4 | grep -q 1.0.3.1"
600 run_cmd "$h1" "traceroute -s 1.0.1.3 1.0.2.4 | grep 1.0.1.1"
602 run_cmd "$h1" "traceroute -s 1.0.3.3 1.0.2.4 | grep 1.0.3.1"
665 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep INC"
669 run_cmd "$r1" "bash -c \"echo 0x01 > /proc/sys/net/ipv4/icmp_errors_extension_mask\""
672 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep INC"
676 run_cmd "$r1" "bash -c \"echo 0x00 > /proc/sys/net/ipv4/icmp_errors_extension_mask\""
679 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep INC"
683 run_cmd "$r1" "sysctl -w net.ipv4.icmp_errors_extension_mask=0x01"
685 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep '<INC:$r1_ifindex,\"eth1\",mtu=1500>'"
688 run_cmd "$h2" "sysctl -w net.ipv4.icmp_errors_extension_mask=0x01"
690 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep '<INC:$h2_ifindex,\"eth2\",mtu=1500>'"
695 run_cmd "$r1" "ip address add 198.51.100.1/24 dev eth1"
696 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep '<INC:$r1_ifindex,198.51.100.1,\"eth1\",mtu=1500>'"
698 run_cmd "$r1" "ip address del 198.51.100.1/24 dev eth1"
703 run_cmd "$r1" "ip route add 192.0.2.1/32 nexthop via inet6 fe80::1 dev eth1"
704 run_cmd "$r1" "ip link set dev eth1 name eth1tag mtu 1501"
705 run_cmd "$h1" "traceroute -e 192.0.2.3 $pkt_len | grep '<INC:$r1_ifindex,\"eth1tag\",mtu=1501>'"
707 run_cmd "$r1" "ip link set dev eth1tag name eth1 mtu 1500"
709 run_cmd "$r1" "sysctl -w net.ipv4.icmp_errors_extension_mask=0x00"
710 run_cmd "$h2" "sysctl -w net.ipv4.icmp_errors_extension_mask=0x00"
728 run_cmd "$h1" "sysctl net.ipv4.icmp_errors_extension_mask | grep \"= 0$\""
733 run_cmd "$h1" "bash -c \"echo 0x80 > /proc/sys/net/ipv4/icmp_errors_extension_mask\""