From owner-freebsd-questions Thu Nov 15 1:21:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailout06.sul.t-online.de (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id D201437B416 for ; Thu, 15 Nov 2001 01:21:27 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout06.sul.t-online.de with smtp id 164Ii5-0004kA-0T; Thu, 15 Nov 2001 10:21:25 +0100 Received: from venus (520001623117-0001@[217.224.3.179]) by fmrl06.sul.t-online.com with smtp id 164Ii0-0J9NBIC; Thu, 15 Nov 2001 10:21:20 +0100 Message-ID: <056501c16db7$7af0aac0$fe00fa0a@venus> From: "Sven Huster" To: , References: <3.0.5.32.20011114192000.00fbf8a8@mail.sage-american.com> Subject: Re: DSL PPPoE with 2 NICs Date: Thu, 15 Nov 2001 10:25:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: 520001623117-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have done it some time ago, so cant remember exactly but for me it worked out of the box, I think. [ppp.conf] default: set server +3000 t-online_dsl: set device PPPoE: set MTU 1492 set MRU 1492 set dial set crtscts off set speed sync accept lqr disable deflate disable pred1 disable vjcomp disable acfcomp disable protocomp # enable dns set log Phase Warning Error Alert # set log Phase LCP IPCP CCP Warning Error Alert set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 add default HISADDR set login set authname set authkey [/ppp.conf] [rc.conf] ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="t-online_dsl" ppp_user="root" [/rc.conf] works for me in de regards Sven ----- Original Message ----- From: To: Sent: 15 November, 2001 02:20 Subject: DSL PPPoE with 2 NICs > We have a small LAN about to be set up on a DSL connection which is > activated. The LAN is currently sharing an ISDN Internet connection (not > used for incoming remotes). The gateway machine (192.168.0.1) is running > Win2K. There are several Win2K stations on the LAN and a couple of FreeBSDs > running 4.4, on manually assigned. The DSL is an external modem via PPPoE. > The LAN is connected via Hub. Each box has a RealTek 8139 on device rl0. > > We want to install the DSL in one of the FreeBSD boxes (192.168.0.202) to > use with the > DSL (and change to the gateway in place of the Win2K). here's how the > ifconfig -a > looks now: > > ********************************************************************* > rl0: flags=8843 mtu 1500 > inet6 fe80::240:33ff:fe57:92dd%rl0 prefixlen 64 scopeid 0x1 > inet 192.168.0.202 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:40:33:57:92:dd > media: Ethernet autoselect (100baseTX ) > status: active > lp0: flags=8810 mtu 1500 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > faith0: flags=8000 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 > inet 127.0.0.1 netmask 0xff000000 > ********************************************************************* > > A second NIC card (D-Link DFE-530TX+) will be added for the DSL modem and > it loads as > device r11 (without modem connected yet). > > The "tun" devices are made and ready.... and 4.4 loads netgraph support I > believe without need to build into the kernel. > > QUESTION: > Does anyone listening have a similar setup as planned above...DSL PPP over > PPPoE with two NICs (1 for the modem and 1 for the LAN) and if so, may I > see your ppp.conf file... and what else should I worry about? > > I have read all of the many papers/guides (including Renaud Waldura's > paper). Any added tips would be VERY welcome as I really want to use BSD > rather than Win2K..... many t > > Best regards, > Jack L. Stone, > Server Admin > > Sage-American > http://www.sage-american.com > jacks@sage-american.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message