From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 22 18:18:21 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 35FFB1065692 for ; Tue, 22 Dec 2009 18:18:21 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outE.internet-mail-service.net (oute.internet-mail-service.net [216.240.47.228]) by mx1.freebsd.org (Postfix) with ESMTP id 1E23A8FC14 for ; Tue, 22 Dec 2009 18:18:20 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D645A3C27F; Tue, 22 Dec 2009 10:18:20 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 204952D6016; Tue, 22 Dec 2009 10:18:20 -0800 (PST) Message-ID: <4B310D83.3020607@elischer.org> Date: Tue, 22 Dec 2009 10:18:43 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "Huth, Hans-Peter" References: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3F635B2@MCHP7I5A.ww902.siemens.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-virtualization@freebsd.org Subject: Re: 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 18:18:21 -0000 Huth, Hans-Peter wrote: > 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?) witout looking at the code I'm guessing it does the file after the command like args. > > ngctl mkpeer eiface foo ether (creates ngethX, not foo) mkpeer takes 4 arguments. it's better to specify them all than try guess the defaults. > > 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ünchen, Deutschland > Tel.: +49 (89) 636-43071 > Fax: +49 (89) 636-51115 > Mobil: +49 (173) 7068763 > mailto:hans-peter.huth@siemens.com > > Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322 > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"