How to Test check_quality in MWAN3 for Network Failures?

Hello, I have a question regarding the check_quality feature in the interface configuration properties of mwan3.

When check_quality is enabled, it allows the use of failure_latency, recovery_latency, failure_loss, and recovery_loss.

I'm attempting to use this feature to disable a connection when the link quality drops below a certain threshold. However, I'm facing a challenge in testing these conditions.

How can I simulate failure_latency, recovery_latency, failure_loss, and recovery_loss situations to effectively test this feature?

I have limited experience in networking and am unsure how to create a test environment to validate the functionality of this feature. Specifically, how can I create a scenario with high packet loss, and how can I control packet waiting times?

Any advice or guidance on how to proceed with this would be greatly appreciated. Thank you for your help! :smiley: