[LARTC] Shaping using both public and private Ip addresss on same linux box

ibro tj ibb_linux@yahoo.com
Fri, 16 Jul 2004 11:18:42 -0700 (PDT)


I have a qos system that is currently shaping
(down/up) using public ip address on eth0 and eth1
-eth0 faces the internet.What I want to do is similar
to what jiri fojtasek (
http://hyperfighter.jinak.cz/qos ) in his imq
implementation example. But in my case , i do not want
to use imq but rather attach the 3rd NIC eth2 that
will shape traffic originating/destined to my local
LAN -192.168.0.0/24. wHAT i find challenging is how to
construct the tc scripts between the interface eth0
and eth2 taking care of up/down as well , without
conflicting with the public aspect. A sample script
will be of great help.


Ibrahim T


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail