From owner-freebsd-net Fri Oct 27 14:23:26 2000 Delivered-To: freebsd-net@freebsd.org Received: from hoemail2.firewall.lucent.com (hoemail2.lucent.com [192.11.226.163]) by hub.freebsd.org (Postfix) with ESMTP id 3DDBC37B479; Fri, 27 Oct 2000 14:23:22 -0700 (PDT) Received: from hoemail2.firewall.lucent.com (localhost [127.0.0.1]) by hoemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id RAA12295; Fri, 27 Oct 2000 17:23:21 -0400 (EDT) Received: from mhmail.mh.lucent.com (h135-3-115-8.lucent.com [135.3.115.8]) by hoemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id RAA12287; Fri, 27 Oct 2000 17:23:21 -0400 (EDT) Received: from lucent.com (positron.micro.lucent.com [192.19.56.129]) by mhmail.mh.lucent.com (8.8.8+Sun/EMS-1.5 sol2) id RAA02636; Fri, 27 Oct 2000 17:23:19 -0400 (EDT) Message-ID: <39F9F1FB.F00E686F@lucent.com> Date: Fri, 27 Oct 2000 17:22:03 -0400 From: "Gary T. Corcoran" Reply-To: gcorcoran@lucent.com Organization: Lucent Microelectronics - Client Access Broadband Systems X-Mailer: Mozilla 4.73 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer Cc: Aaron Hill , freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: More on PPPoE & ADSL (Telstra Bigpond) References: <39F8C29F.D785C588@lucent.com> <39F9210E.B728D4F8@elischer.org> <39F9B679.CA563B9E@lucent.com> <39F9E669.FB8D77D2@elischer.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Julian Elischer wrote: > no chance of adding a netgraph interface? Sure there's a chance - if I get some free time... ;-) But I'm not at all familiar with netgraph. I've never used it. What advantage would there be to adding it? (and can you point me to a sample driver that would show me what needs to be done?) > ok ok so you already do pppoe but do you do multiple pppoe sessions with > ability to be a pppoe server? (which netgraph does.) No, I don't support multiple pppoe sessions. This card is geared to be used on a client on an ADSL line, where the downstream rate is much higher than the upstream - in other words much better at downloading than serving. :) And most DSL providers tend to get upset if you run a server from a residential service... :-) Most businesses use SDSL - symmetric DSL, which this card doesn't support. The other thing is that in order to support the PPP flavors of DSL (RFC2364), we have to load a sync PPP module. I used the syncppp.c code from FreeBSD, but it wasn't quite usable as-is so I had to tweak it. Of course that module is only providing PPP, not PPPoE - the DSL driver itself does the PPPoE negotiations before letting the PPP go through. Then it just adds/ subtracts the PPPoE wrapper on the frames (when in PPPoE mode). Given this framework (ppp0 interface -> ltdsl driver), would netgraph fit in? Would the sync PPP code also have to be modified to use netgraph? In the other flavors of DSL (RFC1483), the DSL card appears as an ethernet device to the system. As you may be able to tell, without knowing what netgraph really does I'm a little bit at a loss as to how/why to use it... But if it's relatively easy to add support for netgraph, and it has some advantages for the user, then I'm willing to give it a shot... Thanks, Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message