From nobody Tue May 02 01:32:25 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 4Q9MyW4Myyz48G4m for ; Tue, 2 May 2023 01:32:35 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9MyV4k6Hz42g0 for ; Tue, 2 May 2023 01:32:34 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org; dmarc=none Received: from [192.168.151.122] (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 3421WPMp006165 for ; Mon, 1 May 2023 19:32:26 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <7c972cc1-3c49-ad0a-b86f-91bd0b978537@dreamchaser.org> Date: Mon, 1 May 2023 18:32:25 -0700 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Content-Language: en-US To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: PPPoE bridge / vlan? setup help needed Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 01 May 2023 19:32:26 -0600 (MDT) X-Spamd-Result: default: False [0.59 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_SHORT(-0.95)[-0.949]; NEURAL_SPAM_MEDIUM(0.84)[0.842]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[dreamchaser.org]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Queue-Id: 4Q9MyV4k6Hz42g0 X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N 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; searching I found something about setting up a vlan and associating it with the hardware interface, but it's not clear to me how. Handbook Ch 33.11 VLANs shows examples using a single number, the vlan tag. Otherwise, nothing I've been able to find about setting up PPPoE bridged says anything about vpi/vci. pp.conf: default: set log Phase tun command ident user-ppp VERSION myisp: set log Phase Chat LCP IPCP CCP Connect DNS tun command set device PPPoE:xl0 set mtu max 1492 set mru max 1492 disable ipv6cp set dial set login set timeout 0 # set speed 20000000 # is speed needed for PPPoE? set authname ******** set authkey ******** set ifaddr my.isp.assigned.ip/29 0.0.0.0 add! default HISADDR # Override existing default route with new one With no vlan set up, I see: Sorry it's long, seems to succeed through SUCCESS but don't know what from the earlier output may be relevant. tun0: Phase: Using interface: tun0 tun0: Command: myisp: set log Phase Chat LCP IPCP CCP Connect DNS tun comman d tun0: Command: myisp: set device PPPoE:xl0 tun0: Command: myisp: set redial 3 0 tun0: Command: myisp: set mtu max 1492 tun0: Command: myisp: set mru max 1492 tun0: Command: myisp: disable ipv6cp tun0: Command: myisp: set dial tun0: Command: myisp: set login tun0: Command: myisp: set timeout 0 tun0: Command: myisp: set authname ******** tun0: Command: myisp: set authkey ******** tun0: Command: myisp: set ifaddr my.isp.assigned.ip/29 0.0.0.0 tun0: Command: myisp: add! default HISADDR tun0: Phase: PPP Started (ddial mode). tun0: Phase: bundle: Establish tun0: Phase: deflink: closed -> opening tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening -> dial tun0: Phase: deflink: dial -> carrier tun0: Phase: Received NGM_PPPOE_ACNAME (hook "MSSLMT-CO-MX480") tun0: Phase: Received NGM_PPPOE_SESSIONID tun0: Phase: Received NGM_PPPOE_SUCCESS tun0: Phase: deflink: carrier -> login tun0: Phase: deflink: login -> lcp tun0: LCP: FSM: Using "deflink" as a transport tun0: LCP: deflink: State change Initial --> Closed tun0: LCP: deflink: State change Closed --> Stopped tun0: LCP: deflink: RecvConfigReq(163) state = Stopped tun0: LCP: MRU[4] 1492 tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) tun0: LCP: MAGICNUM[6] 0x3bbf819a tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 tun0: LCP: deflink: SendConfigReq(1) state = Stopped tun0: LCP: ACFCOMP[2] tun0: LCP: PROTOCOMP[2] tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1492 tun0: LCP: MAGICNUM[6] 0x3bbf5181 tun0: LCP: deflink: SendConfigAck(163) state = Stopped tun0: LCP: MRU[4] 1492 tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) tun0: LCP: MAGICNUM[6] 0x3bbf819a tun0: LCP: deflink: LayerStart tun0: LCP: deflink: State change Stopped --> Ack-Sent tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent tun0: LCP: ACFCOMP[2] tun0: LCP: PROTOCOMP[2] tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1492 tun0: LCP: MAGICNUM[6] 0x3bbf5181 tun0: LCP: deflink: State change Ack-Sent --> Opened tun0: LCP: deflink: LayerUp tun0: LCP: deflink: SendIdent(0) state = Opened tun0: LCP: MAGICNUM 3bbf5181 tun0: LCP: TEXT user-ppp 3.4.2 tun0: Phase: bundle: Authenticate tun0: Phase: deflink: his = PAP, mine = none tun0: Phase: Pap Output: ******** ******** tun0: Phase: Pap Input: SUCCESS () tun0: CCP: FSM: Using "deflink" as a transport tun0: CCP: deflink: State change Initial --> Closed tun0: CCP: deflink: LayerStart. tun0: CCP: MPPE: Not usable without CHAP81 tun0: CCP: deflink: SendConfigReq(1) state = Closed tun0: CCP: DEFLATE[4] win 15 tun0: CCP: PRED1[2] tun0: CCP: deflink: State change Closed --> Req-Sent tun0: Phase: deflink: lcp -> open tun0: Phase: bundle: Network tun0: IPCP: FSM: Using "deflink" as a transport tun0: IPCP: deflink: State change Initial --> Closed tun0: IPCP: deflink: LayerStart. tun0: IPCP: deflink: SendConfigReq(1) state = Closed tun0: IPCP: IPADDR[6] my.isp.assigned.ip tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression tun0: IPCP: deflink: State change Closed --> Req-Sent tun0: LCP: deflink: RecvProtocolRej(164) state = Opened *** tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was reject ed! tun0: CCP: deflink: State change Req-Sent --> Stopped tun0: IPCP: deflink: RecvConfigReq(101) state = Req-Sent tun0: IPCP: IPADDR[6] 69.51.80.35 tun0: IPCP: deflink: SendConfigAck(101) state = Req-Sent tun0: IPCP: IPADDR[6] 69.51.80.35 tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent tun0: LCP: deflink: SendIdent(1) state = Opened tun0: LCP: MAGICNUM 3bbf5181 tun0: LCP: TEXT user-ppp 3.4.2 tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent tun0: IPCP: IPADDR[6] my.isp.assigned.ip tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent tun0: IPCP: IPADDR[6] 66.109.136.47 *** tun0: IPCP: 66.109.136.47: Unacceptable address! tun0: IPCP: deflink: SendTerminateReq(3) state = Ack-Sent tun0: IPCP: deflink: State change Ack-Sent --> Closing tun0: IPCP: deflink: RecvTerminateAck(3) state = Closing tun0: IPCP: deflink: LayerFinish. tun0: IPCP: Connect time: 0 secs: 0 octets in, 0 octets out tun0: IPCP: 0 packets in, 0 packets out tun0: IPCP: total 0 bytes/sec, peak 0 bytes/sec on Mon May 1 18:57:32 2023 tun0: IPCP: deflink: State change Closing --> Closed tun0: Phase: bundle: Terminate tun0: CCP: deflink: State change Stopped --> Closed tun0: CCP: deflink: State change Closed --> Initial tun0: LCP: deflink: LayerDown tun0: LCP: deflink: SendTerminateReq(2) state = Opened tun0: LCP: deflink: State change Opened --> Closing tun0: Phase: deflink: open -> lcp tun0: Warning: ff02::/: Change route failed: errno: Network is unreachable tun0: IPCP: deflink: State change Closed --> Initial tun0: LCP: deflink: RecvTerminateAck(2) state = Closing tun0: LCP: deflink: LayerFinish tun0: LCP: deflink: State change Closing --> Closed tun0: LCP: deflink: State change Closed --> Initial tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: lcp -> logout tun0: Phase: deflink: logout -> hangup tun0: Phase: deflink: Disconnected! Any pointers would be much appreciated. Thanks, Gary