WSL2 - qdisc netem support

Bydžovský, Dominik 1 Reputation point
2020-07-16T05:58:37.597+00:00

Hello there,

I would like to kindly ask about supporting netem qdisc in wsl2.
I have spent a day searching and googling about this issue, but I could not find any related issue.

I use Docker Desktop with wsl2.
We do some network testing in our distributed system in containers by using Network Emulator - netem qdisc.
for example:

> tc qdisc add dev eth0 root netem delay 100ms

What did work in Docker Desktop backed by hyperv, now does not not work on wsl2 distributions (I tried Ubuntu 20, Kali Linux).
I tried installing it on wsl2:

> $ sudo modprobe sch_netem
> modprobe: FATAL: Module sch_netem not found in directory /lib/modules/4.19.104-microsoft-standard

or installing by updating iproute2, which would contain it.
> $ sudo apt install iproute2

Thank you in advance for your time on this
Dominik

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 86,026 Reputation points
    2020-07-16T09:47:40.68+00:00

    Hi,

    WSL 2 is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated WSL forum over here:
    https://github.com/Microsoft/WSL/issues

    (Please don't forget to accept helpful replies as answer)

    Best regards,
    Leon

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.