From nobody Wed May 03 12:42:19 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QBGmv6dcJz49JX2 for ; Wed, 3 May 2023 12:42:23 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QBGmt70n0z3qBb for ; Wed, 3 May 2023 12:42:22 +0000 (UTC) (envelope-from merlyn@geeks.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org; dmarc=none Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 7EDEB7D008 for ; Wed, 3 May 2023 07:42:19 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 67CFC7D007; Wed, 3 May 2023 07:42:19 -0500 (CDT) Date: Wed, 3 May 2023 07:42:19 -0500 From: Doug McIntyre To: FreeBSD Mailing List Subject: Re: PPPoE bridge / vlan? setup help needed Message-ID: References: <7c972cc1-3c49-ad0a-b86f-91bd0b978537@dreamchaser.org> <9A04451E-1BC7-402D-A5A5-B1B6466DBE56@FreeBSD.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9A04451E-1BC7-402D-A5A5-B1B6466DBE56@FreeBSD.org> X-Virus-Scanned: ClamAV using ClamSMTP X-Spamd-Result: default: False [0.74 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[0.997]; NEURAL_SPAM_LONG(0.99)[0.987]; NEURAL_HAM_SHORT(-0.95)[-0.946]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[geeks.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Queue-Id: 4QBGmt70n0z3qBb X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Tue, May 02, 2023 at 09:37:58AM +0200, Kristof Provost wrote: > On 2 May 2023, at 3:32, Gary Aitken wrote: > > Having trouble setting up a dsl modem as a bridge. > > ISP info: > > Fixed IP > > LLC-Based multiplexing > > VPI 0 > > VCI 100 > > > > Nowhere in ppp.conf do I see anything about > > multiplexing mode, vpi, vci, or dsl mode; > With the disclaimer that it’s been ~15 years since I last looked at the relevant tech, but I think you’re confusing PPP over ATM (PPPoA) with PPP over Ethernet (PPPoE). > > VPI/VCI are ATM concepts, and do not exist in Ethernet land. Correct. Although there existed a PPPoA ADSL card that had drivers for FreeBSD at one point in time, where you could terminate your DSL connection directly into a FreeBSD machine to act as firewall/router. So that information would be required for configuration of such interface card. BUT, most likely that card even if found probably doesn't work with the DSL standards currently in use by ISPs today. Let alone if the company has kept up with kernel driver development to keep it still working. Most ISPs now-a-days will let you run either PPPoA or PPPoE. So use the CPE termination device they provide, turn it into bridge mode; and then setup PPPoE going through your ethernet and ignore the PVC info above. The CPE they provide would need to know the ATM VPI/VCC info quoted above (most likely autoconfiguring itself), and then passes all frames from the ATM connection down into ethernet frames, and FreeBSD can certainly do PPPoE termination to act as router/firewall for your network.