Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 18:30:35 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Peter Brezny" <peter@skyrunner.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: traffic prioritization.
Message-ID:  <20021202183035.29e6c95e.Alexander@Leidinger.net>
In-Reply-To: <NEBBIGLHNDFEJMMIEGOOCEDMFEAA.peter@skyrunner.net>
References:  <20021201144939.0001f7d7.Alexander@Leidinger.net> <NEBBIGLHNDFEJMMIEGOOCEDMFEAA.peter@skyrunner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Dec 2002 12:07:30 -0500
"Peter Brezny" <peter@skyrunner.net> wrote:

> Do you have an example of what you described below that I could look at to
> minimize syntax battles?

---snip---
############
# Flush out the list before we begin.
${fwcmd} -f flush
${fwcmd} -f queue flush
${fwcmd} -f pipe flush


${fwcmd} pipe 1 config bw 64kbit/s queue 10KByte
${fwcmd} queue 1 config pipe 1 weight 10 queue 10KByte
${fwcmd} queue 2 config pipe 1 weight 1 queue 10Kbyte

${fwcmd} add queue 1 tcp from ${inside_net}/${inside_mask} to any via ${interface} out
${fwcmd} add queue 2 udp from ${inside_net}/${inside_mask} to any via ${interface} out
---snip---

This adds a pipe with a limit of 8k. Both queues share this bandwith, but
one gets more than the other.

Then outgoing tcp traffic flows through queue 1 and udp traffic through
queue 2.

Bye,
Alexander.

-- 
               I believe the technical term is "Oops!"

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021202183035.29e6c95e.Alexander>