selftests: forwarding: Add a test for basic IPv4 and IPv6 routing
authorIdo Schimmel <idosch@mellanox.com>
Wed, 28 Feb 2018 10:25:09 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:25:47 +0000 (12:25 -0500)
commit7b7bc875559c0c06406d77a7f71e3c0e289a60be
tree382458864bea6c9509855bc1bd8198b3494c8d7b
parent236dd50bf67a2ab5fd39d82e712d1fafdd4c602d
selftests: forwarding: Add a test for basic IPv4 and IPv6 routing

Configure two hosts which are directly connected to the same router and
test IPv4 and IPv6 ping. Use a large MTU and check that ping is
unaffected.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/router.sh [new file with mode: 0755]