From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zviad O. Giorgadze" Date: Thu, 07 Oct 2004 06:54:55 +0000 Subject: Re: Re: [LARTC] What is the reccomended minimum rate for leaf htb class foraccurate operation? Message-Id: <20041007065259.1DEC56CB789@mail.caucasus.net> List-Id: References: <20041006073827.5C1826CB7C7@mail.caucasus.net> In-Reply-To: <20041006073827.5C1826CB7C7@mail.caucasus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org >"Zviad O. Giorgadze" wrote: >> # Put flow to corresponding classes >> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.1 flowid 1:21 >> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.2 flowid 1:22 >> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.3 flowid 1:23 >> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.4 flowid 1:24 >> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.5 flowid 1:25 > >If you are NATting, there is no 192.168.0.anything because the address >has been NATted. But checking via "tc -s -d class show dev eth0" shows that filter correctly recognizes packets and pust it into appropriate class. NAT is performed before the eth0. Zviad _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/