Hi Michael,

I think what you are asking is: "I want to shape all traffic on the external 
interface such that all forwarded traffic has lower priority than any internal 
traffic."

In general, you are better off shaping the traffic "type" rather than traffic 
"source/destination", which is how our Traffic Shaper plugin works by default.

But, there is a user configurable option SHAPER_P2P_HOSTS (disabled by default) 
in the configuration:
Network tab -> Firewall Plugins: [ traffic-shaper ]

If you define... 
--
SHAPER_P2P_HOSTS="192.168.101.0/24"
--
then all traffic to and from that subnet will have the lowest priority, 
regardless of the traffic "type".

Multiple subnets (or hosts) can be defined by space separating entries.

Normally the SHAPER_P2P_HOSTS is used for a network backup server to the cloud 
or such and a single Ip address, but defining a full network(s) also works.

I'm glad you asked this, this could be generally useful.

Lonnie

BTW, Michael Keuter and I recently noticed that traffic shaping on "server" 
NIC's (ex. Intel "igb" driver) was not working as well as expected, long story 
short, seems NIC packet "offloading" can interfere with traffic shaping.  As 
such, we now automatically disable TSO, GSO and GRO on the shaped interface 
when shaping is enabled.  This change is in the SVN and will appear with 
AstLinux 1.2.5 .



On Jan 22, 2016, at 12:17 AM, Michael Knill <michael.kn...@ipcsolutions.com.au> 
wrote:

> Yes more Traffic Shaping questions sorry.
> 
> Is there any way that I can shape certain traffic types only for Downstream?
> 
> Basically I want to be able to shape all other traffic incoming EXCEPT with a 
> destination of the Asterisk server EXT interface.
> Is this possible?
> 
> Regards
> Michael Knill



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to