Update README.md

This commit is contained in:
hkbakke 2017-01-11 23:06:23 +01:00 committed by GitHub
parent 115fd74bcc
commit 4848dd58e2
1 changed files with 14 additions and 13 deletions

View File

@ -7,20 +7,21 @@ the heavy lifting.
Run tc-gen.sh without parameters to see more details. Run tc-gen.sh without parameters to see more details.
## Examples of common use ## Examples of common use
Shape egress to 25 mbit/s Shape egress to 25 mbit/s
tc-gen.sh -i eth0 -u 25
tc-gen.sh -i eth0 -u 25
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0
tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0 Shape egress to 2 mbit/s and police ingress to 20 mbit/s
Shape egress to 2 mbit/s and police ingress to 20 mbit/s tc-gen.sh -i eth0 -u 2 -d 20
tc-gen.sh -i eth0 -u 2 -d 20 Display current configuration
Display current configuration tc-gen.sh -i eth0
tc-gen.sh -i eth0 Remove configuration
Remove configuration tc-gen.sh -i eth0 -x
tc-gen.sh -i eth0 -x
## /etc/network/interfaces examples ## /etc/network/interfaces examples
# Simple DHCP WAN config # Simple DHCP WAN config