From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Davidson Subject: Re: Throttle Users Date: Wed, 30 Nov 2005 13:56:30 +0000 Message-ID: <438DAF8E.5040205@nosignal.org> References: <200511291256.06255.dlubowa@bushnet.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200511291256.06255.dlubowa@bushnet.net> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: dlubowa@bushnet.net Cc: linux-admin@vger.kernel.org David Ziggy Lubowa wrote: > Anyone got any ideas on this , would like in the most primitive way for now > be able to have users who have not paid there bill be redirected to a page > and also not be able to use any of my bandwidth say put a minimum of 8k , > anyone got any ideas. > i have PIX 515E, Packeteer and a few cisco routers and *nix boxes to play > with , which would be appropriate. Which Cisco routers and IOS versions ? For the throttle, I would use the routers if possible, as traffic shaping on Linux still feels a little unpolished. This should start you off, assuming : your inside int = ge0/0 your customers net = 10.0.0.0/24 average rate allowed = 16000 bps drop packets at burst = 4000 bps interface GigabitEthernet0/0 rate-limit output access-group 101 16000 4000 4000 conform-action transmit exceed-action drop ! access-list 101 permit ip 10.0.0.0 0.0.0.255