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
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.
-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
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
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!