Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pingecho

#1
Hi!
I've also noted that the shaper doesn't work as expected, but I have a fix for that.

Skip the configuration in GUI, Traffic shaper, settings. Delete all traffic shaper settings! This assumes you have WAN interface em0 and download bandwidth 50Mbit/s and upload bandwidth 20Mbit/s.

Log in via ssh and execute

/etc/rc.d/ipfw onestart

ipfw pipe 10 config bw 50Mbit
ipfw pipe 20 config bw 20Mbit

ipfw queue 10 config pipe 10 mask dst-ip 0xffffffff
ipfw queue 20 config pipe 20 mask src-ip 0xffffffff

ipfw add 160 queue 10 ip from any to any in via em0
ipfw add 170 queue 20 ip from any to any out via em0


Now this should work and traffic shaper status is working in the GUI.

Now the total bandwidth is devided evenly between hosts.


It's of course possible to put the config in a script so it survive reboots.