From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Gast=F3n?= Date: Fri, 30 Jan 2004 12:33:59 +0000 Subject: Re: [LARTC] Whats wrong with my script? Message-Id: <002c01c3e72d$56166a40$cd302bc8@traza> List-Id: References: <001301c3e4db$50143c20$cd302bc8@traza> In-Reply-To: <001301c3e4db$50143c20$cd302bc8@traza> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org What if I use public, routable IPs? i.e eth0: public eth1: public and client`s ips also public. ----- Original Message -----=20 From: "Damion de Soto" To: "Gast=F3n" Cc: Sent: Friday, January 30, 2004 4:16 AM Subject: Re: [LARTC] Whats wrong with my script? > Gast=F3n wrote: > > What about this? : tc filter add dev eth1 parent 1:0 protocol ip prio 100 > > u32 match ip dst 192.168.0.50 classid 1:56 > > Is this correct for shaping upload? > On your upload (eth0) interface, you can't use private IPs, because they've already > been natted to real ones (see http://www.docum.org/stef.coene/qos/kptd/ ) > If you want to shape outbound traffic based on private-lan IP, you need to mark the > packets with iptables, then filter based on mark. > (There are lots of examples of this in the doco and mail archives). > > Your download rules seem correct enough. > > regards, _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/