Check loopback mode

Check that loopback mode works correctly.

  1. If supported, disable source pruning on iut_if to be able to get packets with its own MAC address

  2. Enable loopback on iut_if

  3. Prepare traffic template to be transmitted

  4. Ensure that iut_if is up

  5. Create CSAP and start to receive packets on iut_if

  6. Create CSAP and start to receive packets on tst_if

  7. Transmit packet by template via iut_if

  8. Check that no packets are received on tst_if

  9. Check that sent packet is received on iut_if via loopback

Ilia Ismailov ilia.ismailov@oktetlabs.ru

Parameters:

env

Testing environment:

tmpl

Traffic template