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=0.057 ms 64 bytes from 127.25.3.14: icmp_seq=2 ttl=64 time=0.094 ms 64 bytes from 127.25.3.14: icmp_seq=3 ttl=64 time=0.088 ms 64 bytes from 127.25.3.14: icmp_seq=4 ttl=64 time=0.111 ms 64 bytes from 127.25.3.14: icmp_seq=5 ttl=64 time=0.093 ms --- 127.25.3.14 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4063ms rtt min/avg/max/mdev = 0.057/0.088/0.111/0.017 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.053 ms 64 bytes from 127.25.3.14: icmp_seq=2 ttl=64 time=0.106 ms 64 bytes from 127.25.3.14: icmp_seq=3 ttl=64 time=0.094 ms 64 bytes from 127.25.3.14: icmp_seq=4 ttl=64 time=0.095 ms 64 bytes from 127.25.3.14: icmp_seq=5 ttl=64 time=0.086 ms --- 127.25.3.14 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 0.053/0.086/0.106/0.018 ms ok :: [ PASS ] :: Test '41..57 selftests: net:route_localnet.sh [PASS]'