From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 22 15:16:11 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D781065693 for ; Tue, 22 Dec 2009 15:16:11 +0000 (UTC) (envelope-from hans-peter.huth@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A00F8FC17 for ; Tue, 22 Dec 2009 15:16:10 +0000 (UTC) Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBMEu3D0029277 for ; Tue, 22 Dec 2009 15:56:03 +0100 Received: from mchp7wta.ww002.siemens.net (mchp7wta.ww002.siemens.net [139.25.131.193]) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBMEu3Yq012185 for ; Tue, 22 Dec 2009 15:56:03 +0100 Received: from MCHP7I5A.ww902.siemens.net ([139.25.131.136]) by mchp7wta.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Dec 2009 15:56:02 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Dec 2009 15:56:01 +0100 Message-ID: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: node naming Thread-Index: AcqDFuCsz6hnzcxGStOdeAwmayr2GQ== From: "Huth, Hans-Peter" To: X-OriginalArrivalTime: 22 Dec 2009 14:56:02.0270 (UTC) FILETIME=[E11BDFE0:01CA8316] Subject: node naming X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 15:16:11 -0000 Dear all, this is probably a beginners question: For my script to set up an emulation using vimage and netgraph, i tried = to give meaningful names to netgraph nodes. I tried: ngctl -f foo mkpeer eiface ether ether (ignores the -f , creates = ngethX?) ngctl mkpeer eiface foo ether (creates ngethX, not foo) ngctl mkpeer eiface ether ether ngctl name ngeth0 foo (works, but it's not useful for scripting as i = have to find out first the name of the freshly created node) So basically i would like to use one of the first to forms in my script, = but they don't work as i expected. Any hints? This is on FBSD 8.0 RC2 Regards, Hans-Peter Huth Siemens AG Corporate Technology CT IC 2 Otto-Hahn-Ring 6 81739 M=FCnchen, Deutschland Tel.: +49 (89) 636-43071=20 Fax: +49 (89) 636-51115=20 Mobil: +49 (173) 7068763 mailto:hans-peter.huth@siemens.com =20 Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard = Cromme; Vorstand: Peter L=F6scher, Vorsitzender; Wolfgang Dehen, = Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried = Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und = M=FCnchen, Deutschland; Registergericht: Berlin Charlottenburg, HRB = 12300, M=FCnchen, HRB 6684; WEEE-Reg.-Nr. DE 23691322 =20