Re: [LARTC] Lots amounts of classes to solve the DAP problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 23 April 2003 14:45, GoMi wrote:
> I have finally worked a solution for egress traffic, but now i am a bit
> troubled with ingress with IMQ due to SNAT Here is my script, i have tried
> lots of combinations but with IMQ, the filters do not filter to the classes
> at all. I am pretty sure its because of the SNAT i am doing. Any one nows
> how to work around this problem?
So the filters for the eth2 device are working?
Mhh.  You put all packets leaving eth3 in the imq1 device?  Why not shaping on 
the eth3 device???

I have some other remarks.  You will get some warnings in your kernel log 
about quantum too low.  That's because you have 1kbit rate.  You can solve 
this by specifying a quantum if you add the htb class.  The minimum quantum 
is MTU bytes.
Also the pfifo.  I'm not sure how and if this will work.  It's possbile that 
the default size of the pfifo is too small.

I snipped your almost perfect script to save some bandwidth :)

> ip link set ${IDEV} up
> ip link set ${DEV} txqueue 30
I'm not sure if this is going to change anything.  As fas as I can remember, 
you replaced the default queue with something else so the inital depth of 
that queue doesn't mather anymore.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux