raspberrypi Script list for dropping and jitter. And how to use it. #24
Replies: 3 comments
-
테스트하고자 하는 2개의 디바이스를 서로다른 AP에 연결하고 jitter, drop 설정 테스트. |
Beta Was this translation helpful? Give feedback.
-
#39 |
Beta Was this translation helpful? Give feedback.
-
지터 발생을 위한 명령어 사용법. https://man.archlinux.org/man/core/iproute2/tc-netem.8.en |
Beta Was this translation helpful? Give feedback.
-
[AddDrop.sh]
sudo iptables -A FORWARD -m statistic --mode random --probability 0.10 -j DROP
[AddDrop_DemoDay.sh]
sudo iptables -A FORWARD -m statistic --mode random --probability 0.05 -j DROP
sudo iptables -A OUTPUT -m statistic --mode random --probability 0.05 -j DROP
[RemoveDrop.sh]
sudo iptables -F
sudo iptables -X
[AddJitter.sh]
sudo tc qdisc add dev wlan0 root netem delay 300ms 50ms
sudo tc qdisc add dev wlan1 root netem delay 300ms 50ms
[AddJitter_DemoDay.sh]
sudo tc qdisc add dev wlan0 root netem delay 10ms 20ms distribution normal rate 10Gbit
sudo tc qdisc add dev wlan1 root netem delay 10ms 20ms distribution normal rate 10Gbit
[AddJitter_new.sh]
sudo tc qdisc add dev wlan0 root netem delay 300ms 50ms distribution normal rate 10Gbit
sudo tc qdisc add dev wlan1 root netem delay 300ms 50ms distribution normal rate 10Gbit
[RemoveJitter.sh]
sudo tc qdisc del dev wlan0 root
sudo tc qdisc del dev wlan1 root
Beta Was this translation helpful? Give feedback.
All reactions