On Sat, Mar 30, 2013 at 5:12 PM, Thibaut Chèze <
[email protected]> wrote:
> Can you provide your *tcclasses* and *tcrules* config files ?
>
tcclasses
eth0 1 100kbit 180kbit 1 tos=0x68/0xfc,tos=0xb8/0xfc
eth0 2 full/2 full 2 tcp-ack,tos-minimize-delay
eth0 3 full/2 full 3 default
eth0 4 full/4 full/2 4
eth2 1 100kbit 180kbit 1 tos=0x68/0xfc,tos=0xb8/0xfc
eth2 2 full/2 full 2 tcp-ack,tos-minimize-delay
eth2 3 full/2 full 3 default
eth2 4 full/4 full/2 4
tcrules
FORMAT 2
##########################################################################################################################################
# #ACTION SOURCE DEST PROTO PORT(S) SOURCE USER TEST
LENGTH TOS CONNBYTES HELPER
# 4:T 0.0.0.0/0 0.0.0.0/0 TCP - - - - -
- - ftp
1 0.0.0.0/0 0.0.0.0/0 TCP - - - - - -
- sip
1 172.30.99.5/32 0.0.0.0/0
1 0.0.0.0/0 172.30.99.5/32
1 199.21.149.36/32 0.0.0.0/0
1 0.0.0.0/0 199.21.149.36/32
> Can you explain what you want to do ? (to compare with config files)
>
I had recently installed a VOIP device (172.30.99.5 - 199.21.149.36 is my
provider) and the VOIP was terrible. So I just want to prioritize VOIP.
I did that and it worked, but then suddenly my HTTP downloads went from
20Mbit/s to 5Mbit/s consistently.
> First, place '-' in the *IN-BANDWIDTH* for all interfaces (*tcinterfaces*),
> it will disable packet drop on incoming (packet is received, bandwidth is
> consumed, why drop ?).
>
I'll try this to see what happens
> For your tests, are you on the machine where the tc is enabled or on
> another ?
>
Yess, all tests are on the firewall itself
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users