From 4848dd58e22920f434de39a9953dcf370bce7997 Mon Sep 17 00:00:00 2001 From: hkbakke Date: Wed, 11 Jan 2017 23:06:23 +0100 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d31c5f6..32e4cc4 100644 --- a/README.md +++ b/README.md @@ -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 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 - 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 + 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