From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:41:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B31038DD for ; Sun, 19 May 2013 20:41:33 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 83FB895E for ; Sun, 19 May 2013 20:41:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r4JKfVOX028668 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 19 May 2013 15:41:31 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 19 May 2013 15:41:31 -0500 From: "Teske, Devin" To: Nikos Vassiliadis Subject: Re: does ifconfig see netgraph bridges? Thread-Topic: does ifconfig see netgraph bridges? Thread-Index: AQHOVKE1tf210Wa7u0KIurPxajRUVJkNKOuAgAAkHwA= Date: Sun, 19 May 2013 20:41:31 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F5198C@ltcfiswmsgmb26> References: <5198E85A.9000702@a1poweruser.com> <51991AAD.4020201@gmx.com> In-Reply-To: <51991AAD.4020201@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <86295805D3CE3B4DA7E536AFA5626120@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-19_06:2013-05-17,2013-05-19,1970-01-01 signatures=0 Cc: Joe , "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 20:41:33 -0000 On May 19, 2013, at 11:32 AM, Nikos Vassiliadis wrote: > Hi, >=20 > On 05/19/2013 04:57 PM, Joe wrote: >> I create a ng bridge but issuing ifconfig does not show the bridge. >> Running 9.1-RELEASE. >> Is this a bug? >=20 > ifconfig is not supposed to know about a netgraph bridge. So this is > by design. Also, since the bridge is supposed to be transparent to the > network i wouldn't know what kind of information would be relevant to ifc= onfig, that is the netgraph bridge has no MAC, no IP etc. What info > are you after? >=20 To see the upper/lower links to a bridge, you want to execute (as root): ngctl ls -l The output is a bit cluttered, as there's no empty newline between the head= ers as it enumerates the different types. Just as traditional "ls" you can give it a path, however the path is not de= limited by "/" but by ":" to separate the peers, etc. Start small by trying to ls your bridge (and then ls -l your bridge). If me= mory serves (on the go, so don't have a terminal to try this out before giv= ing the tip): ngctl ls -l bridge0: Should perhaps show the connected links. When in doubt=85 go interactive=85 ngctl And try different combinations of "ls" and "ls -l" on the prompt. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.