Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hkbakke committed Jan 11, 2017
1 parent 115fd74 commit 4848dd5
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@ the heavy lifting.
Run tc-gen.sh without parameters to see more details.

## Examples of common use
Shape egress to 25 mbit/s
tc-gen.sh -i eth0 -u 25

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

Shape egress to 2 mbit/s and police ingress to 20 mbit/s
tc-gen.sh -i eth0 -u 2 -d 20

Display current configuration
tc-gen.sh -i eth0

Remove configuration
tc-gen.sh -i eth0 -x
Shape egress to 25 mbit/s

tc-gen.sh -i eth0 -u 25
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
Shape egress to 2 mbit/s and police ingress to 20 mbit/s

tc-gen.sh -i eth0 -u 2 -d 20
Display current configuration

tc-gen.sh -i eth0
Remove configuration

tc-gen.sh -i eth0 -x

## /etc/network/interfaces examples
# Simple DHCP WAN config
Expand Down

0 comments on commit 4848dd5

Please sign in to comment.