could I mangle connections by their pppoe profile ?

I am planning a QoS strategy.
I have 2 user category logging in the subscriver by pppoe connection.
Each user belog to a profile (basic and plus).
I would use different queue trees for the two groups.
Is it possibile to mark the packets belogs to a partuicular pppoe profile ?

Thanks

use ‘address-lists=’ parameter in Profiles, then mangle by src/dst-addtrss-list

Yes, it is an option.
But is not useful because it makes very difficult to maintain the system having dynamic (and limited) public ip.

are you kidding? it’s exactly what you asked for! you may mark packets belonging to your pppoe profiles (i.e. address-lists). what’s wrong?

I could have confused your reply.

I have readed janism.pdf document where it uses address lists to mangle classes of users.

In this case I must maintain aligned ip pools and address lists.

I must size ip pools and modify them (and the relative address list) if the number of users is higher than prevented.

If I add a class C I must partition this class it to various user classes.

If I can mangle like “pppoe-profile=business” I think is more simple.

In ppp profile configuration set which address-list to use. All clients using this profile will be added to address list automatically and removed when client disconnects.
From this point you can mangle by address lists, it would be the same as matching by pppoe profile.

omg… when you use ‘address-list=’ parameter in PPP profile, RouterOS automatically maintains this address-list: it adds user’s address when user connects and remove its address when he disconnects. so you always have actual address-list of connected users

fan-tas-tic

thanks of all.

Rodolfo