Using tc to setup simple shaper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I'm trying to figure out how to use traffic control in Linux.  I've read
several documents and READMEs but I can't make the following work:
How do I reduce the capacity of my ethernet card/link?  

Basically, what I need is to create a class that would cover all (outgoing
IP) packets, and rate-limit it to some bandwidth.  So, it's a simple
traffic shaper.

I expect it should be something like a three-liner that looked like this:

tc qdisc add dev eth0 ....
tc class add dev eth0 ....
tc filter add dev eth0 ...

But from the various examples I'm not able to figure it out.

Thanks!
Josip
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux