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.at
dmt.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"
>
_______________________________________________
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"
|