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
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html