Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2006 17:32:56 -0200
From:      "Gilberto Villani Brito" <linux@giboia.org>
To:        "FreeBSD (PF)" <freebsd-pf@freebsd.org>
Subject:   Re: Traffic shapping with pf hfsc and prioritizing based on group
Message-ID:  <6e6841490611161132t4e5a0f14ne470540f86ded273@mail.gmail.com>
In-Reply-To: <BAY118-F313FCC8AF5C74DE7CD6564AFF40@phx.gbl>
References:  <BAY118-F313FCC8AF5C74DE7CD6564AFF40@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
I think somethink like this:
altq on em0 hfsc bandwidth 100% queue net_em0
queue net_em0 bandwidth 14Mb hfsc(red realtime 14Mb upperlimit 14Mb) {
priority7_em0 priority6_em0 priority5_em0 priority4_em0
                                           priority3_em0 default_em0}
queue priority7_em0 bandwidth 10Mb priority 7 hfsc(red realtime 10Mb
upperlimit 14Mb)
queue priority6_em0 bandwidth 1Mb priority 6 hfsc(red realtime 10Mb
upperlimit 14Mb)
queue priority5_em0 bandwidth 1Mb priority 5 hfsc(red realtime 10Mb
upperlimit 14Mb)
queue priority4_em0 bandwidth 1Mb priority 4 hfsc(red realtime 10Mb
upperlimit 14Mb)
queue default_em0 bandwidth 1Mb priority 1 hfsc(default)

Can resolve your problem.

Gilberto


2006/11/13, Gloomy Group <gloomygroup@hotmail.com>:
> Hi,
>
>        As I'm new in packet filter I will like to get some help in setting
> my configuration for bandwidth shapping with altq hfsc. Below will be my
> network layout;
>
>                                           VSAT for uplink only
>                                             |
>                                        Router
>                                               |
>                                    -|------Normal Switch------------------|
>                                     |
> DVB for downlink
>                                     |
>                                 rl0 interface
>                                             |
>                                            Freebsd shaper/gateway
>                                                         |
>                                                     rl1 interface
>                                                        |
>                                                      Switch
>
> |---------------------|---------|---------|-------------------|----------------------------------|
>                          Dialup users   Cable users       webserver    proxy
> servers       Wireless users
>
>
>   What I want to do here is rl0 interface will be used for shapping uplink
> traffic whereas rl1 interface will shape only downlink traffic to my network
> group. Cable users will get higher priority than wireless users. Has anyone
> got sample configuration with this network layout?
>
> _________________________________________________________________
> Stay in touch with old friends and meet new ones with Windows Live Spaces
> http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>



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