Traffic shapping with pf hfsc and prioritizing based on group
Gilberto Villani Brito
linux at giboia.org
Thu Nov 16 19:32:58 UTC 2006
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>
More information about the freebsd-pf
mailing list