Multiple pppoe with same name and simple queues problem

Hi! I have to pppoe clients with the same user and password connected.
I see two active connections and I see two simple queues but I can’t match the correct one

ppp active print detail
Flags: R - radius
0 R name=“pepe” service=pppoe caller-id=“E0:E8:E6:1E:B3:4F” address=172.16.121.4 uptime=5h58m9s encoding=“” session-id=0x81800083 limit-bytes-in=0 limit-bytes-out=0
1 R name=“pepe” service=pppoe caller-id=“8C:88:2B:00:00:08” address=172.16.121.5 uptime=5h57m22s encoding=“” session-id=0x81800084 limit-bytes-in=0 limit-bytes-out=0

queue simple print
Flags: X - disabled, I - invalid, D - dynamic
0 D name=“” target= parent=none packet-marks=“” priority=8/8 queue=default-small/default-small limit-at=2M/2M max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s bucket-size=0.1/0.1
1 D name=“” target= parent=none packet-marks=“” priority=8/8 queue=default-small/default-small limit-at=2M/2M max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s bucket-size=0.1/0.1

Are there any way to know which queue correspond to which active connection?
Thanks in advance and sorry for my english

Sorry, I don’t get it.
The “-1” is not related with the number 1 pppoe active account, I have a lot of other cases with -2 -3 -4
Thanks!

You can use ppp interface instead where it uses interface name - you can cross reference session by caller ID from ppp active via ppp interface to get interface name then reference that to simple queues.

Best way to do it depends on what you are trying to achieve.

Go to the PPPOE Profile that account is using, then go to Limits and change “Only one” from “default” or “no” to “yes”

After this, it they’re not closed already, close the active accounts with names having “-1”, “-2”, etc in them.

Then go to your log, you should see multiple devices trying to connect with the same account.

NO!!!
this behavior is required

as OP: >>>have to pppoe clients with the same user and password connected<<<

Before reply read the OP post, do not reply just for increase post count.

based only from your prints

…session-id=0x81800083 …
…session-id=0x81800084 …

bigger session ID are created LATER

0 name=“” target= …
1 name=“” target= …

-1 on name are created LATER, followed by -2, -3 , -4
little number, longer time
older session-id=0x81800083 correspond to older pppoe-pepe
newer session-id=0x81800084 correspond to newer pppoe-pepe-1

OH I thought they were trying to remove duplicate connections. My bad

Right .

for example user iusbfis on active connections with caller ID 4C:5E:0C:xx:xx:A3
has it’s own dynamically added interface on interfaces like with same caller ID 4C:5E:0C:xx:xx:A3
and on that dynamically added interface, are the same name of simple queues

Can happen.
Luckily I didn’t work as a surgeon,
otherwise with the mistakes I would have made,
I would have killed a lot of people…

Thanks for the answers!
“bigger session ID are created LATER”
It’s every time all times?

I try getting from interfaces and I think with
interface pppoe-server print
I can get the user and remote addres then match the ppp active with the address and caller-id and the queue with interface name
Thanks!