Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


on Alpine

install iproute2:

apk update
apk install iproute2


apk for alpine based on busybox
kernel module
loadmodprobe sch_netem
modprobe cls_u32
checklsmod | grep netem
permanentNot needed !!!
create file

vi /etc/local.d/netem.start

tc qdisc change dev eth0 root netem xxxxxxxx


chmod +x /etc/local.d/netem.start
rc-update add local
latency
+ 100 mstc qdisc add dev eth0 root netem delay 100ms
remote ittc qdisc del dev eth0 root
packet loss
+ 10%tc qdisc change dev eth0 root netem loss 10%

tc qdisc del dev eth0 root








  • No labels