-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The container can not be used in a WSL2 environment because traffic control (TC) is not supported. The kernel module sch_netem is missing.
Setting the parameter results in an error message like this:
root@wemulate:/# wemulate set parameter --connection-name test --delay 10
stdout: b'' | stderr: b'\x1b[31m\x1b[1m[ERROR]\x1b[0m command execution failed\n command=/usr/bin/ip link add ifb7687
type ifb\n stderr=Error: Unknown device type.\n\n\x1b[33m\x1b[1m[WARNING]\x1b[0m command=\'/usr/bin/ip link set dev
ifb7687 up\', returncode=1, stderr=\'Cannot find device "ifb7687"\\n\'\n\x1b[33m\x1b[1m[WARNING]\x1b[0m
command=\'/usr/sbin/tc filter add dev eth4 parent ffff: protocol ip u32 match u32 0 0 flowid 1e07: action mirred egress
redirect dev ifb7687\', returncode=1, stderr=\'Cannot find device "ifb7687"\\nbad action parsing\\nparse_action: bad
value (5:mirred)!\\nIllegal "action"\\n\'\n\x1b[31m\x1b[1m[ERROR]\x1b[0m command execution failed\n
command=/usr/sbin/tc qdisc add dev ifb7687 root handle 1e07: htb default 1\n stderr=Cannot find device
"ifb7687"\n\n\x1b[31m\x1b[1m[ERROR]\x1b[0m command execution failed\n command=/usr/sbin/tc class add dev ifb7687 parent
1e07: classid 1e07:1 htb rate 32000000.0kbit\n stderr=Cannot find device "ifb7687"\n\n\x1b[31m\x1b[1m[ERROR]\x1b[0m
network interface not found: ifb7687 (available interfaces: eth4, lo, test, eth2, eth1, eth0, eth3)\n' | exitcode: 22
root@wemulate:/#More Information: microsoft/WSL#6065
Metadata
Metadata
Assignees
Labels
No labels