Discussion:
Restrict bandwidth for a virtual ip
Shibashish
2011-08-18 10:35:49 UTC
Permalink
Hi,
I have pfSense Version2.0-RC1 (i386) which runs multiple websites and acts
as a load balancer too. I have a website which is eating up all
my bandwidth. I want to restrict that ip to use 10Mbps of my bandwidth and
keep the rest for others. How do I restrict that one ip to not eat all my
bandwidth?

ShiB.
while ( ! ( succeed = try() ) );
Ernst den Broeder
2011-08-18 13:12:29 UTC
Permalink
ShiB,

I started out using pfSense at version 2.0-RC1 (i386), and built a
network with a QoS strategy. It took me a long time to figure out
that the version I had installed was buggy w.r.t. to QoS (stateful
packets where getting put into the default queue on the return path -
i could never get them to go to the proper queue without going
stateless). Anyways, that said, upgrading to 2.0-RC3 solved my
problems without any configuration change, and I would suggest you
consider the same before starting out.

As to your question, I found it easiest to use the shaping wizards to
setup the shaping and then carefully studied what was created in the
configs (look in floating rules config, pay attention to rule type,
keep naming of queues the same for WAN and LAN if you want returning
stateful traffic to take the same queue). Then I deleted it all and
built my own queues and rules per my own needs.

regards,
EdB
Hi,
I have pfSense Version2.0-RC1 (i386) which runs multiple websites and acts
as a load balancer too. I have a website which is eating up all
my bandwidth. I want to restrict that ip to use 10Mbps of my bandwidth and
keep the rest for others. How do I restrict that one ip to not eat all my
bandwidth?
ShiB.
while ( ! ( succeed = try() ) );
---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org

Commercial support available - https://portal.pfsense.org
Chris Buechler
2011-08-19 05:48:29 UTC
Permalink
Hi,
I have pfSense Version2.0-RC1 (i386) which runs multiple websites and acts
as a load balancer too. I have a website which is eating up all
my bandwidth. I want to restrict that ip to use 10Mbps of my bandwidth and
keep the rest for others. How do I restrict that one ip to not eat all my
bandwidth?
The easiest way to just limit one host is to create two limiters for
that host, one for upload and one for download. Then create firewall
rules that pass traffic to/from that host only and specify the limiter
on those rules. You can go through the process of setting up the
traffic shaper in its entirety, but that's quite a bit more effort
than necessary if the above is all you want to accomplish.

---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org

Commercial support available - https://portal.pfsense.org

Continue reading on narkive:
Loading...