From owner-freebsd-questions@FreeBSD.ORG Mon May 20 23:28:32 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 3856CD04; Mon, 20 May 2013 23:28:32 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 268EC109; Mon, 20 May 2013 23:28:31 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 20 May 2013 16:28:26 -0700 Message-ID: <519AB19A.50100@a1poweruser.com> Date: Mon, 20 May 2013 19:28:26 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Devin Teske Subject: Re: ngctl list ? References: <51993A7A.8070302@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 May 2013 23:28:26.0782 (UTC) FILETIME=[BA8EDBE0:01CE55B1] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@Freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 23:28:32 -0000 Teske Here is my results Without netgraph compiled into the kernel, issuing "ngctl list" command on the host only shows the socket for ngctl. After I issue the kldload command on the host for netgraph ng_bridge ng_eiface ng_ether ng_socket, then issuing "ngctl list" command now shows the real NIC interface device names. Thanks for you insight. I have another problem. To standardize my bridge and eiface names I want to use the JID number as a suffix. jid=`jls -j ${jailname} jid` bridge_name="bridge${jid} When creating the bridge it gets assigned bridge_name just like I want. I want to assign the ${jid} to the ieface peer name and can not figure out the syntax. This is the command I am using now ngctl mkpeer eiface ether ether This creates a default name of ngeth0 I would be ok with ngeth${jid} But would really like to assign my own peer name vetjail${jid} Does the mkpeer syntax allow doing this? Thanks Joe