From owner-freebsd-net@freebsd.org Thu Feb 21 19:41:34 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8574214EDDD3 for ; Thu, 21 Feb 2019 19:41:34 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 033488A61C for ; Thu, 21 Feb 2019 19:41:34 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: by mailman.ysv.freebsd.org (Postfix) id B468214EDDC1; Thu, 21 Feb 2019 19:41:33 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2C9D14EDDBF for ; Thu, 21 Feb 2019 19:41:33 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from mail.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.monkeybrains.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 021898A60E for ; Thu, 21 Feb 2019 19:41:32 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from [10.2.86.68] (public.monkeybrains.net [208.69.41.107] (may be forged)) (authenticated bits=0) by mail.monkeybrains.net (8.15.2/8.15.2) with ESMTPSA id x1LJfUJM030842 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 21 Feb 2019 11:41:31 -0800 (PST) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1550778091; bh=kec0UroiGg0reZ32Wss0Nm2SarM18Vb1JhBkJowchbI=; h=Subject:To:References:From:Date:In-Reply-To; b=k5Z8JHxAYJd8mA13BW1oyn7L9/G4DvFKf6LN6jdDDiIBDaqTxQ8oethNpw7GsoK/E I/fxnM3j1uRYlve5w9fDWnfUhvUqr2Ie5ROtCUM8LELLFRPYExDLFz3H0QRIrXiIpl EhES9bSbRWHUU7Wo9vAKP0cq2FQnYwXSkavMG9lw= X-Authentication-Warning: mail.monkeybrains.net: Host public.monkeybrains.net [208.69.41.107] (may be forged) claimed to be [10.2.86.68] Subject: Re: Running PPPoE server in jail, possible with VNET? To: Eugene Grosbein , net@FreeBSD.org References: <6cf02349-678b-9c18-83b0-dda95d70ed80@monkeybrains.net> From: BulkMailForRudy Message-ID: <39485ab4-483c-72db-bd99-51f7f797fcef@monkeybrains.net> Date: Thu, 21 Feb 2019 11:41:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.2 at mail.monkeybrains.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 021898A60E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.993,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 19:41:34 -0000 On 2/20/19 1:13 PM, Eugene Grosbein wrote: > 21.02.2019 3:37, BulkMailForRudy wrote: > >> Dear FreeBSD-net, >> >> PPPoE has some broadcast ethernet frames... >> >> I have epair0a on my bridge and epair0b in the jail, but the jail doesn't get any PADI (PPPoE packets destinged to ff:ff:ff:ff:ff:ff). >> >> Is there a way to have bridge pass broadcast ethernet frames? (tcpdump in the jail shows no PADI packets) >> >> Right now, I have netgraph cranking out ncX devices for the PPPoE clients, and I'd like to stuff that mess in a jail so I can run ifconfig on the host and not see a mess. > You do not need jail to limit output of ifconfig. > Each network interface in FreeBSD can belong to one or more interface groups. > First add all your interfaces except of ng* to some new interface group with ifconfig(8), then use: > > alias ifconfig='/sbin/ifconfig -g groupname' > > Or create new short alias ifc='/sbin/ifconfig -g groupname' > for short output. That's neat,  "ifconfig -g epair" shows all my epairs.   My primary question, if anyone knows:  Is there a way to have bridge pass broadcast ethernet frames? My goal is to run the PPPoE service inside a jail. Rudy