[LARTC] Whats wrong with my script?
Gastón
gaston@steel.com.ar
Fri, 30 Jan 2004 09:33:59 -0300
What if I use public, routable IPs? i.e eth0: public eth1: public and
client`s ips also public.
----- Original Message -----
From: "Damion de Soto" <damion@snapgear.com>
To: "Gastón" <gaston@steel.com.ar>
Cc: <lartc@mailman.ds9a.nl>
Sent: Friday, January 30, 2004 4:16 AM
Subject: Re: [LARTC] Whats wrong with my script?
> Gastón 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,