Changing MAC address and sendingΒΆ

Check that MAC address can be changed and it affects source MAC address of sent packets.

Scenarios: X3-SYS17, X3-SYS19.

  1. If if_down is TRUE and IPv6 is checked, enable keep_addr_on_down setting for the IUT interface to avoid IPv6 address disappearance after brinding it down.

  2. Create a CSAP on Tester to capture packets sent from IUT.

  3. Establish connection between a pair of UDP sockets on IUT and Tester.

  4. Send some data from IUT socket to peer, receive and check it.

  5. Check packets captured by CSAP on Tester, their source MAC address should be iut_lladdr.

  6. If if_down is TRUE, set the IUT interface down.

  7. Change MAC address to iut_alien_mac on the IUT interface. Check that the new address is reported for the interface after that.

  8. If if_down is TRUE, set the IUT interface up again.

  9. Send some data from IUT socket to peer, receive and check it.

  10. Check packets captured by CSAP on Tester, their source MAC address should be iut_alien_mac.

Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru

Parameters:

env

Testing environment:

if_down

If TRUE, set the interface down before changing MAC address on it.