From owner-freebsd-questions@FreeBSD.ORG Fri May 24 05:14:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E25B9EF for ; Fri, 24 May 2013 05:14:32 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 90AA1A4B for ; Fri, 24 May 2013 05:14:31 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4O5EONN078500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 May 2013 07:14:24 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4O5ENsr078497; Fri, 24 May 2013 07:14:24 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 24 May 2013 07:14:23 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Joe Subject: Re: netgraph network setup for jail(8) vnet jails. In-Reply-To: <519E1CAA.2020909@a1poweruser.com> Message-ID: References: <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> <5198221D.5040601@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26> <519E1CAA.2020909@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-621644773-1369372464=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions 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, 24 May 2013 05:14:32 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-621644773-1369372464=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 23 May 2013 09:42-0400, Joe wrote: > Teske, Devin wrote: > > snip............... > > I rendered your output by saving it in a file ("joe.dot") and then running: > > > > dot -Tsvg -o joe.svg < joe.dot > > > > I then uploaded "joe.svg" to my website: > > > > http://druidbsd.sf.net/download/joe.svg > > > > Compare your output to any of the following: > > > > http://druidbsd.sf.net/download/warden0.jbsd.svg > > http://druidbsd.sourceforge.net/download/folsom.svg > > > > It looks like everything is connected properly. > > > > A couple thoughts off the top of my head: > > > > a. Did you enable promiscuous mode on rl0 via ngctl? (in your script > > perhaps?) > > > > b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl > > too, but I imagine ifconfig from within the jail could achieve the same > > thing) > > -- > > Devin > > Yes I enabled promiscuous mode and setautosrc 0 on rl0 via ngctl. > I can find no documentation on why this is done. Can you point me to some? > > Yes I gave the jail a unique MAC address. > > I tried to generate my own network map, but having problem. > > ngctl dot > file.dot works. > dot -Tsvg -o file.svg < file.dot > gives me "command dot not found". Please install graphics/graphviz, either from ports or from packages. > Tried ngctl dot -Tsvg -o file.svg < file.dot > and -T is illegal option. > What am I doing wrong? > > Thanks for your help > Joe -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-621644773-1369372464=:72982--