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" <[EMAIL PROTECTED]> To: "Gast�n" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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, _______________________________________________ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
