I am interested in finding out if PPPoEoA is possible with the
existing linux patches and code.
I am interested in knowing if it is possible for a SOHO router /
gateway, to initiate a PPPoE connection (for the user) and using the
DSL WAN connection send the PPPoE packets.(Please note that I
understand that we can do simple bridging using RFC 2684 if we receive
PPPoE packets on the LAN interface. I am only interested in finding
out how the data flow is for PPPoE packets generated inside the device
and then sent out on the ATM interface).
As per my understanding of the PPPoE stack available for Linux, PPPoE
payload is generated by the stack and then it calls an Ethernet driver
(eth0 or so) which then frames an Ethernet header over the PPPoE
But, when it comes to PPPoEoA, PPPoE payload packets instead of
sending to Ethernet driver should be sent to something like nas0
interface (br2684ctl created interface). But there is no Ethernet
header over this PPPoE payload now because nas0 will not do that?
Who should do this? Is there a need to write a small layer where we
frame the Ethernet header before passing the packets to nas0
Does Linux already support this kind of a requirement?
Correct me if I am wrong in any of the above assumptions.
Please give me any pointers or information you have in this regard.
Thank you in advance.