Proxying PPP from ATM to Ethernet and vice versa



Hi!

I'm currently developing at some SoHo Router which should be able to
speak
both PPPoE and PPPoA. In fact, the modem is a separate machine (TI SoC
with
ADSL logic onboard), accessible via a dedicated Ethernet NIC.

For PPPoE the modem simply bridges external and internal Ethernet
interfaces,
so the complete PPP dial-in (including authentication) can be done on
the
router itself.

The situation is more tricky with PPPoA. While searching for the most
convenient solution, I got the idea of writing a proxy daemon, doing
nothing
more than forwarding the PPP packets between the two underlying
protocols
(AAL5 and Ethernet). But it's not quite as easy as that. After all
I've been
reading, it looks like at least PPPoE is not just Ethernet frames with
PPP as
payload, but a protocol on it's own. Since my ATM knowledge is more or
less
equal to zero, I have no idea as to how much this applies to PPPoA,
too.

So my proxy would have to initiate PPPoA/PPPoE sessions in both
directions
before it can start with dumb packet forwarding. In order to do so, I
am
searching for some implementations (nobody want's to reinvent the
wheel), but
didn't find much (mostly it's packed with the actual PPP
functionality, as in
the samba.org PPP daemon).

Maybe someone in this group is willing/able to give me some criticism/
advice
about the above thoughts. In general, every feedback is highly
appreciated.


Following some picture (for you to better understand what I was trying
to form
into english sentences, as well as for me to add some 1337 to this
posting :).

,-------------, ,----------,
: ... : .......................... : ... |
|-------------| |----------|
| IP |----------------------------| IP |
|-------------| |----------|
| PPP |----------------------------| PPP |
|-------------| ,----------------, |----------|
| Ethernet |-----| Ethernet | ATM |-----| ATM |
'-------------' '----------------' '----------'

^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^
SoHo Router DSL Modem DSL Peer


Greetings, Phil
.



Relevant Pages

  • Re: user ppp and PPPoE bridging
    ... I've put the DSL modem in bridging mode, and it brings up the link ... Using user ppp, when I attempt to establish the PPPoE connection, I ... There is carrier on ethernet. ...
    (freebsd-questions)
  • Re: DSL Modem Help!!
    ... Chris's solution is possible however any ISP you talk to will most likely ... ISPs don't like you to bridge the modem becuase when you bridge the modem ... If you are curious what the difference is between PPPoA and PPPoE keep ... PPPoA stands for Point to Point Protocol over ATM ...
    (microsoft.public.windows.server.sbs)
  • Re: Wanadoo keeps disconnecting for no reason ??
    ... >Regarding the ethernet modem set-up, when I asked Wanadoo for the ... PPPoA is the correct one for BT's ADSL implementation. ... PPPoE is less efficient than PPPoA because it is PPPoEoA as the aTM ... AOL - the unlimited ISP of choice for heavy downloaders. ...
    (uk.telecom.broadband)
  • Re: ADSL PPoA or RFC1483, any solutions ?
    ... > I need in a near future to convert a bunch of adsl from PPPoE to PPPoA ... If, as I expect, the DSL modem still has an Ethernet interface, you ... has address w.x.y.z/24 and my default route is w.x.y.1. ...
    (freebsd-net)
  • Re: powerlink dsl in pr
    ... Is that an ethernet modem with internal PPPoE or PPPoA? ... We will help as soon as you can give the relevamt information, ...
    (alt.os.linux.suse)