From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yangrunhua" Date: Wed, 12 Dec 2001 05:47:29 +0000 Subject: RE: [LARTC] HTB problem Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Now, I know the where the problem is. If I already use SNAT, how could I limit the inbound bandwidth of=20 Every intra-network ip protected by SNAT( with the help of iptables nfmark)? But mangle at PREROUTING goes before NAT translate.=20 Is there any method? Thanks. -----Original Message----- From: bert hubert [mailto:ahu@ds9a.nl]=20 Sent: 2001=C4=EA12=D4=C211=C8=D5 19:10 To: yangrunhua Cc: lartc@mailman.ds9a.nl Subject: Re: [LARTC] HTB problem On Tue, Dec 11, 2001 at 05:34:22PM +0800, yangrunhua wrote: > tc qdisc add dev eth0 root handle 1: htb default 2 > tc class add dev eth0 parent 1: classid 1:1 htb rate 5kbps ceil 5kbps > burst 2k tc class add dev eth0 parent 1: classid 1:2 htb rate 10mbps=20 > ceil 10mbps burst 2k > tc filter add dev eth0 protocol ip fw I still have a very hard time figuring out your configuration. Please list the following: * your iptables commands * your tc qdisc add commands * your tc class add commands * what kind of traffic you are generating Thanks. --=20 http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/