How to get Session ID for PPPOE session?

1.9k views Asked by At

I am using rp-pppoe 3.10. I have configured a PPPoE server and client. How do I find out the PPPoE session ID assigned by the server to client when the session is established? Is it updated in any file in /etc/ppp folder or some where else?

2

There are 2 answers

2
caf On BEST ANSWER

pppoe logs this through syslog:

pppoe[2195]: PPP session is 2166 (0x876)
0
Murat Sezgin On

cat /proc/net/pppoe will give you the session ID, server MAC address and the physical interface device which the PPPoE session is created on.