From: Stef Coene Date: Thu, 11 Sep 2003 17:18:14 +0000 Subject: Re: [LARTC] Iptables-setmark option Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 11 September 2003 09:39, Raghuveer wrote: > Hi Stef, > > I would like to clarify how to use iptable setmark option with CBQ > egress shaping. For example, If my WAN interface is eth0, LAN interface > is eth1 and DMZ is eth2. I would like to do egress shaping using CBQ at > eth0 for hosted servers placed either in DMZ or LAN. If my hosted http > server local IP is 192.168.1.12 with port 80. What rules should I frame > to make it happen, my eth0 interface bandwidth is 100Mbits and rate is > 512Kbits. I would like to restrict outgoing bandwidth for my hosted http > server to 128Kbits and left bandwidth(512Kbits - 128Kbits) for > others(default). An example with similar scenario will definately help. I can't provide you with a real example, but you can find some documentation at www.docum.org. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/