We are wanting to place our wireless clients onto a centralized PPPOE server.
Creating the server is not an issue as we run Mikrotik OS on an x86 server as our main gateway router for wireless links.
What I want to know is how do we allocate different PPPOE clients to different types of service ie. Group1 to shaped/capped bandwidth, Group2 to unshaped/capped, Group3 to shaped/uncapped etc…
We have normal users, business users and some gamers thus the requirement for different options. We would thus link into our Radius server and allocate an account that run over DSL, diginet or fibre depending on the service to the internet.
Anyone done this yet, can we allocate pools to different gateways, perhaps different eth if required or perhaps use multiple PPPOE servers?
http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client
There’s a whole bunch of RADIUS attributed you can use for this. The most promising ones would be using RADIUS to return an IP address to assign to the client, and using subnet bondaries to make policy decisions (group 1 gets 1.1.1.1/24 and that subnet is mangled/shapped/capped a certain way), or to return an address list to add the client to on login and remove from on logout and making the same decisions via source and destination address lists.
Adders lists scale better in complexity, in my opinion - you don’t worry about IPs, just list names. On the other hand checking large address lists is more work for the router, whereas a decision based on an IP being part of a large subnet is always simple regardless of number of clients. Just make the subnets the groups get assigned to much larger than you think you need to. I’m assuming you’re using private IP space.