make -C tools/testing/selftests TARGETS=net TEST_PROGS=route_localnet.sh TTEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: route_localnet.sh # run arp_announce test # net.ipv4.conf.veth0.route_localnet = 1 # net.ipv4.conf.veth1.route_localnet = 1 # net.ipv4.conf.veth0.arp_announce = 2 # net.ipv4.conf.veth1.arp_announce = 2 # PING 127.25.3.14 (127.25.3.14) from 127.25.3.4 veth0: 56(84) bytes of data. # 64 bytes from 127.25.3.14: icmp_seq=1 ttl=64 time=3.20 ms # 64 bytes from 127.25.3.14: icmp_seq=2 ttl=64 time=0.163 ms # 64 bytes from 127.25.3.14: icmp_seq=3 ttl=64 time=0.201 ms # 64 bytes from 127.25.3.14: icmp_seq=4 ttl=64 time=7.18 ms # 64 bytes from 127.25.3.14: icmp_seq=5 ttl=64 time=6.32 ms # # --- 127.25.3.14 ping statistics --- # 5 packets transmitted, 5 received, 0% packet loss, time 4049ms # rtt min/avg/max/mdev = 0.163/3.412/7.178/2.951 ms # ok # run arp_ignore test # net.ipv4.conf.veth0.route_localnet = 1 # net.ipv4.conf.veth1.route_localnet = 1 # net.ipv4.conf.veth0.arp_ignore = 3 # net.ipv4.conf.veth1.arp_ignore = 3 # PING 127.25.3.14 (127.25.3.14) from 127.25.3.4 veth0: 56(84) bytes of data. # 64 bytes from 127.25.3.14: icmp_seq=1 ttl=64 time=0.656 ms # 64 bytes from 127.25.3.14: icmp_seq=2 ttl=64 time=0.200 ms # 64 bytes from 127.25.3.14: icmp_seq=3 ttl=64 time=0.226 ms # 64 bytes from 127.25.3.14: icmp_seq=4 ttl=64 time=11.3 ms # 64 bytes from 127.25.3.14: icmp_seq=5 ttl=64 time=0.243 ms # # --- 127.25.3.14 ping statistics --- # 5 packets transmitted, 5 received, 0% packet loss, time 4055ms # rtt min/avg/max/mdev = 0.200/2.532/11.339/4.406 ms # ok ok 1 selftests: net: route_localnet.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->