Date: Fri, 26 Oct 2007 12:52:43 +0100 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Nikos Vassiliadis <nvass@teledomenet.gr> Cc: Barney Wolff <barney@databus.com>, freebsd-net@freebsd.org Subject: Re: pppoa connection Message-ID: <4721D50B.3050909@FreeBSD.org> In-Reply-To: <200710261040.18817.nvass@teledomenet.gr> References: <A5EB0F83-8C40-4014-84E0-5C5661885661@tinker.com> <20071026052932.GA72917@pit.databus.com> <DD2BA22E-523B-4751-9417-E2DA0DFF1157@tinker.com> <200710261040.18817.nvass@teledomenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Nikos Vassiliadis wrote: > flakey fingers... > > On Friday 26 October 2007 10:06:30 Kim Shrier wrote: > >> Other people successfully use this modem to connect to their ISP >> when the ISP accepts pppoe connections and the modem is configured >> as a bridge. Unfortunately, my ISP doesn't support pppoe, only >> pppoa. >> > > The only way to do PPPoA is to have a device that does the DSL and > ATM layers and handles the rest to FreeBSD. Nope - there are devices out there such as the D-link single port DSL-5xxx modems which are able to bridge ethernet to PPPoA, which allows you to *not* use NAT on the device. They do this by running a DHCP client on the outward face, a DHCP server on the inward 'face and allocating itself YourIP+1/24 on that face. Your machine inside then gets assigned YourIP. This is a hybrid form of router/bridging which relies on the IP addressing trick. Obviously the subnet mask is wrong - I haven't figured out if this can be changed in the firmware - which means trouble if you have to route to folk in the same net block. Most consumer DSL 'access devices' force you to use NAT because they don't know how to bridge in this way. However, if you really need to do native PPPoA in BSD, you need an ngATM supported device - /usr/sbin/ppp knows about pppoa devices and should suffice for running it over a single VC. This support was originally added for the Alcatel Speedtouch. Of course if you have an ngatm supported ATM card, and an ATM25-to-ADSL modem (such beasts exist) you can do it that way too - this is how you plug an old Cisco 4xxx into consumer ADSL, by the way. [I'm not sure if MPD groks PPPoA too, but that would let you channel bond with multiple physical circuits.] I should point out that the use of ATM over xDSL is actually part of the G.DMT-lite specs... inquiring individuals can make their own minds up about this and why that happened regards, BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4721D50B.3050909>