On May 2, 2011, at 5:15 PM, lanas wrote: > This is using Shorewall 4.4.11.6. > > I have an 'Internal' TC configuration that prioritizes http traffic > going out eth2 on port 80 over http going out the same interface on > port 3000. It works nicely. > > I am trying to reproduce the same configuration using the Simple TC > mode. > > This is a router unit with a http server sitting on eth1 and a client > on eth2. I apply TC on the traffic from the server going out eth2 to > reply to the laptop's wget. > > laptop <-> eth2 router eth1 <-> HTTP server > > Here are the options from shorewall.conf I think would matter. I was > using MARK_IN_FORWARD_CHAIN=Yes for the 'Internal' mode in order to > replicate previous Shorewall 4.0.x behaviour, so I kept it for 'Simple'. > > TC_ENABLED=Simple > TC_EXPERT=No > WIDE_TC_MARKS=No > CLEAR_TC=Yes > MARK_IN_FORWARD_CHAIN=Yes > FORWARD_CLEAR_MARK=No > > First, I get an error when configuring tcinterfaces in the following > way (as per the tcinterfaces web page) : > > tcinterfaces > #INTERFACE TYPE IN-BANDWIDTH OUT-BANDWIDTH > eth2 External - 100mbit >
From 'man shorewall-tcinterfaces':
OUT-BANDWIDTH - [rate[:[burst][:[latency][:[peek][:[minburst]]]]]]
Added in Shorewall 4.4.13. The terms are defined in tc-tbf(8).
Note the 'Added in shorewall 4.4.13'.
So you *can't* reproduce your Internal configuration with a Simple one on
4.4.11.
-Tom
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
PGP.sig
Description: This is a digitally signed message part
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
