From owner-freebsd-questions@FreeBSD.ORG Fri May 31 08:48:29 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 01565D2F for ; Fri, 31 May 2013 08:48:28 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-d09.mx.aol.com (omr-d09.mx.aol.com [205.188.108.133]) by mx1.freebsd.org (Postfix) with ESMTP id BC2DAE1F for ; Fri, 31 May 2013 08:48:28 +0000 (UTC) Received: from mtaout-mb06.r1000.mx.aol.com (mtaout-mb06.r1000.mx.aol.com [172.29.41.70]) by omr-d09.mx.aol.com (Outbound Mail Relay) with ESMTP id EE7D0700000B1; Fri, 31 May 2013 04:48:21 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mb06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 69F09E0000B6; Fri, 31 May 2013 04:48:21 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: VIMAGE From: Pietro Paolini In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> Date: Fri, 31 May 2013 10:48:19 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> To: Devin Teske X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1369990101; bh=RXjjwDmk2qzugScask/XBpNpV658dCTTfskx+ZM79qA=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=uGogWMJZx+GqwiBbM09zq5Ez0QwrZb7YpXQk4Zd+Z8gchI/brbGOezmx8dmFT+es4 q5w1+8hKltafjtWcaG7GyKiyp+zYhM3oS8LeiSwE2EU9z1b02ighqhNBmoSeER6hSU G3S+JGhfHc0mZp8cUOVrXd9BcUtfouPBGJhaztIU= X-AOL-SCOLL-SCORE: 0:2:412409152:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d294651a863d5775d X-AOL-IP: 78.108.141.145 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: Fri, 31 May 2013 08:48:29 -0000 On May 30, 2013, at 6:25 PM, "Teske, Devin" = wrote: >=20 > On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: >=20 >> Hello all, >>=20 >> I am a new bye on the FreeBSD and I am looking at the VIMAGE features = experiencing some problems. >> I added the options : >> VIMAGE >> if_bridge >>=20 >> and I removed >> STCP >>=20 >> then I recompiled my kernel and install it. >>=20 >> After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on=20 >> the following commands: >>=20 >> vimage -c n1 >> vimage -c n2 >> ngctl mkpeer efface ether ether >> ngctl mkpeer efface ether ether >=20 > Don't you just love autocorrect? (does the same thing to me=85 turns = "eiface" into "efface") >=20 >=20 >> ngctl mkpeer em0: bridge lower link0 >=20 > Looks good. >=20 >=20 >> ngctl name em0:lower bridge0 >=20 > I usually do my "connect" before the "name"=85 but shouldn't matter. = Should work all the same. >=20 >=20 >> ngctl connect em0: bridge0: upper link1 >=20 > This looks wrong to me. >=20 > I'd expect: >=20 > ngctl connect em0: bridge0:lower upper link1 >=20 Many thanks for the answer Devin, when I try to use that last command I receive: ngctl connect em0: bridge0:lower upper link1 ngctl: send msg: Invalid argument What's wrong ?