promisc_support Test Suite
Promiscuous mode support test suite.
Test promiscuous support by sending a packet with a different destination mac address from the TG to the SUT.
- class TestPromiscSupport
Bases:
TestSuite
Promiscuous mode support test suite.
- ALTERNATIVE_MAC_ADDRESS: str = '02:00:00:00:00:00'
Alternate MAC address.
- test_promisc_packets() None
Verify that promiscuous mode works.
- Steps:
Create a packet with a different mac address to the destination. Enable promiscuous mode. Send and receive packet. Disable promiscuous mode. Send and receive packet.
- Verify:
Packet sent with the wrong address is received in promiscuous mode and filtered out otherwise.