Linux Trafficshaping

From AdminWiki

(Difference between revisions)
Jump to: navigation, search
Robe (Talk | contribs)
(initial commit)
Newer edit →

Revision as of 01:52, 25 May 2006

Introduction

Trafficshaping under Linux is as easy and intuitive as changing the drive belt in your car. Fortunately there's the lartc homepage which should be your first stop when you want to learn about advanced networking under linux.

When we talk about traffic shaping we're talking about two things:

  • Packet classification
  • Packet queueing

Classification

When you want to shape traffic you usually want to give some packets and/or flows precedence over others. To classify packets you've got a few options under linux:

Probably the fastest option when you want to classify traffic. The syntax is extremely user-friendly and intuitive when you happen to know the TCP header specs by heart.
Much more comfortable than U32, probably noticeable slower when you're pushing large amounts of pps.

Queueing

Personal tools