Re: Whats wrong with my script?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
To: "Gastón" <gaston@xxxxxxxxxxxx>
Cc: <lartc@xxxxxxxxxxxxxxx>
Sent: Friday, January 30, 2004 4:16 AM
Subject: Re:  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 / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux