From owner-freebsd-questions@FreeBSD.ORG Tue Nov 20 13:17:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D336CB6 for ; Tue, 20 Nov 2012 13:17:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B42768FC08 for ; Tue, 20 Nov 2012 13:17:52 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so5646065lah.13 for ; Tue, 20 Nov 2012 05:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=ewKmC5X1KUyyu4GvoBwtHMqEq+0MehV9RZ5RSU9fAAE=; b=C4oQEtxv/sWBzYUhp/LRas2jD5jj3CVr53OWQNucPDOxIkj/LZu68g4lExJjVxfQxY MaZ063NH7X4FT+rYxtM/ZDsRrn2mPZernAEJ1TfluVozAEsr3e1VMO7avmVPUyKYZwth msDO4a/cjHVp0O/ZDPp0vXS8VmHv8IE/Y4Njp0ZlKamjWNdb+7Nisi99KtoTCRFQ3v6l lxjjMsf92Smnon4U6Ja32w7qQO3xzpFO/ljFekrnjxXT8saaA9tb+3aPErucerrabGWk 0OL95Wmf+jNU9dItwjWvmRWoD8ADubNX3kCsdpawyFyp2DlE2gWnRcErdm+AlOIPukWH rZtQ== Received: by 10.112.98.74 with SMTP id eg10mr2121184lbb.131.1353417471107; Tue, 20 Nov 2012 05:17:51 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id ps11sm4800235lab.12.2012.11.20.05.17.49 (version=SSLv3 cipher=OTHER); Tue, 20 Nov 2012 05:17:50 -0800 (PST) Date: Tue, 20 Nov 2012 13:17:47 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: PPPoA section of FreeBSD Handbook Message-ID: <20121120131747.6064fc64@gumby.homeunix.com> In-Reply-To: <20121120005151.GB86793@ozzmosis.com> References: <20121120004938.GA86793@ozzmosis.com> <20121120005151.GB86793@ozzmosis.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 13:17:53 -0000 On Tue, 20 Nov 2012 11:51:51 +1100 andrew clarke wrote: > On Tue 2012-11-20 11:49:38 UTC+1100, andrew clarke > (mail@ozzmosis.com) wrote: > > > In the meantime I've switched to using mpd5 (/usr/ports/net/mpd5) > > and /sbin/ipnat. So far, so good: > > > > # ifconfig ng0 > > ng0: flags=88d1 > > metric 0 mtu 1492 inet 124.170.51.116 --> 203.215.7.251 netmask > > 0xffffffff > > Incidentally the PPPoA section of the FreeBSD is very out of date: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html > > The ambiguously named net/pppoa port in section 28.6.1 has been marked > as broken since 2009. (Ambiguous since it's only for a particular > brand of USB ASDL modem.) > > In section 28.6.2 the example provided is a config file for mpd 4.x > which does not work in mpd 5.x. > > net/mpd4 was deleted from the ports tree 11 months ago. > > net/mpd5 doesn't seem to support PPPoA, only PPPoE. I could find no > reference to PPPoA in the manual or source code. Not many people really need that these days. PPPoA support is needed for obsolete USB modems which pass-through ATM for the host to terminate. There are also some pci modems supported by Linux, but I don't think they've been well supported on FreeBSD, if at all. These days there are better options that only require standards-based support in the host. Most PPPoA-based ISPs also support PPPoE over ATM - even if they don't advertise it or tell their low-level technical support. Alternatively you can: - use a NAT router that terminate PPPoA - use a router/modem that bridges PPPoA to PPPoE - use a router/modem that terminates PPPoA and passes the public IP address to the host