Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2015 17:38:45 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   traffic prioritize
Message-ID:  <CAEW%2BogbCaEPef1Q3Fw1EtbvOs1Z5jKrzjve7XNprrkn7SM63HA@mail.gmail.com>
In-Reply-To: <CAEW%2BogbrR4tpBe2C-1ZQsByZwPTk91TbnikdD%2B90yaiFvC1oew@mail.gmail.com>
References:  <CAEW%2BogbZUEYvqCr9gOdwdYujgd8u8ym6nWHjDCP43y2n-cPKvw@mail.gmail.com> <CAEW%2BogbrR4tpBe2C-1ZQsByZwPTk91TbnikdD%2B90yaiFvC1oew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,
I need to set some QoS on traffic.
I use ipfw & dummynet, all my search to cane to use queue with weight,
however its said that this method not prioritize traffic rather that
splitting the pipe according to the weights (if i read correctly should sum
to 100).

Any other method or corrected method would be appreciated.

my current config is:
one_pass=0
em0 is my uplink 100Mbit link
the traffic is stuck on queue rules and not forwarded.
==============================
ipfw pipe 123 config bw 100Mbit
ipfw queue 1 config pipe 123 weight 40
ipfw queue 2 config pipe 123 weight 30
ipfw queue 3 config pipe 123 weight 29
ipfw queue 4 config pipe 123 weight 1

ipfw add 1000 queue 1 tcp from any 5060-5061 to any recv em0
ipfw add 2000 queue 2 tcp from any 80,443,21 to any recv em0
ipfw add 3000 queue 3 all from any 53 to any recv em0
ipfw add 4000 queue 4 all from any to any recv em0
ipfw add 5000 allow all from any to any
Sami



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogbCaEPef1Q3Fw1EtbvOs1Z5jKrzjve7XNprrkn7SM63HA>