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.
If if_down is
TRUE
andIPv6
is checked, enable keep_addr_on_down setting for the IUT interface to avoid IPv6 address disappearance after brinding it down.Create a CSAP on Tester to capture packets sent from IUT.
Establish connection between a pair of UDP sockets on IUT and Tester.
Send some data from IUT socket to peer, receive and check it.
Check packets captured by CSAP on Tester, their source MAC address should be iut_lladdr.
If if_down is
TRUE
, set the IUT interface down.Change MAC address to iut_alien_mac on the IUT interface. Check that the new address is reported for the interface after that.
If if_down is
TRUE
, set the IUT interface up again.Send some data from IUT socket to peer, receive and check it.
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 |