21 November 2002, Doron Shikmoni
v1.02
Bezeq (the Israeli PTT) has published ADSL installation instructions which require a PPTP VPN setup. This setup is easily configurable with various flavours of MS-Windows, but has its drawbacks. Among them are:
I was mainly annoyed with this last issue. I got me a cute little gadget for pennies, which does WiFi and NAT and some lame firewalling and whatnot. Then I realized that it can't do PPTP, as Bezeq's installation instructions require. So apparently it can't be used in Israel?
Curiously, it turned out that common wisdom has it that the PPTP
tunnel is required by Bezeq's gear. "Bezeq does not support PPPoE,
maybe they will at some unknown point in the future", and there's
actually little hope.
The problem appeared to be quite painful, so much that some agile dealers actually sold, for considerable amounts of money, "specialized" firmware updates for some of those boxes, only to add PPTP support to them "so they can work in Israel".
A simple solution is offered here, with which you can do away
with PPTP, and use PPPoE, with the Alcatel SpeedTouch Home ADSL modem,
today. No Bezeq intervention is required, no
"hacking" is involved, and the process is quite straightforward.
Linux / D-Link / Linksys / Netgear / (other) users - I think you're gonna like this.
Basic assumptions:
The recommended setup of Bezeq ADSL uses a PPTP tunnel. This tunnel
is used for authentication and traffic encapsulation - to pass the
credentials (and IP traffic) of the user to the carrier, and from
there to the ISP. The ISP receives the connection via an L2TP tunnel.
If you follow the installation instructions, you will notice that the remote end of this tunnel is 10.0.0.138.
This IP address is in fact the default address of the "modem" (its LAN interface). So, the PPTP tunnel actually terminates at the home device - rather than on the carrier's gear. This is key to understanding what we do here.
From the modem, and upstream into the carrier network, the user's credentials and packets flow over a different protocol - PPPoA (PPP over ATM). On the modem (assuming its default configuration), the PPTP tunnel called "RELAY_PPP1" is gatewayed to VPI/VCI = 8/48, which is the ATM Virtual Circuit where Bezeq does business (ISP long term subscribers). In a nutshell, the modem is the one to gateway PPTP into PPPoA.
Okay, this is interesting. What logically follows is that in order
to use PPPoE and not PPTP, all it should take is to have the modem
- not the carrier's gear! - gateway PPPoE (from the LAN) into
PPPoA, on 8/48, and we'll be there.
This is exactly what the rather simple receipe below guides you through. Networking-wise, gatewaying PPPoE into PPPoA is a very simple task (they're both PPP after all). It's essentially just bridging.
So let's see how we make our modem bridge PPPoE into PPPoA.
Note 1: this receipe does not require "hacking" the
modem, turning it into a "pro" model or anything low level like
that. We'll use straightforward, documented features and
configurations, and end up with straightforward PPPoE support.
Note 2: Once this procedure is completed, your ADSL connection
should be ready to support PPPoE, but you will not be able to connect with PPTP. It
is completely reversible, but keep this in mind so as not to lose a
heartbeat when it happens.
Disclaimer: although I have successfully implemented the process described below, your mileage may vary, big time. When you try the following, you are doing it at your own risk. If in doubt, don't do it. In fact, if you have a Bezeq-owned modem (leased), I'm not sure how favorably Bezeq will view people reconfiguring it. I own my modem.
We'll assume the machine from which you are doing this is already connected to the modem and properly configured. If it's not, then connect it to the LAN (10Base-T) port of the modem. Let your machine use an address 10.0.0.x where x is not {0, 138, 255}. Any suitable mask will do. We'll further assume that the modem is more or less in its default configuration.
This is it. If you followed everything carefully, you should now have full support for bridging PPPoE into PPPoA, over 8/48 (or, in lower tech jargon, your setup now supports PPPoE into Bezeq).
Configure your PPPoE client (software or appliance) with your ISP credentials (full user - as in "tooki@IKzahav", and password).
That's all! PPPoE should now be working.
As mentioned, now that VC 8/48 is allocated for PPPoE, it will not
support PPTP (in other words, your previously configured PPTP client
will now fail to connect). The process we went through is easily
reversible:
Good luck!