From owner-freebsd-questions@FreeBSD.ORG Thu May 30 10:35:40 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 13ACD49E for ; Thu, 30 May 2013 10:35:40 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-m04.mx.aol.com (omr-m04.mx.aol.com [64.12.143.78]) by mx1.freebsd.org (Postfix) with ESMTP id E252026C for ; Thu, 30 May 2013 10:35:39 +0000 (UTC) Received: from mtaout-da04.r1000.mx.aol.com (mtaout-da04.r1000.mx.aol.com [172.29.51.132]) by omr-m04.mx.aol.com (Outbound Mail Relay) with ESMTP id 5E72570001D74 for ; Thu, 30 May 2013 06:35:33 -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-da04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id CA196E00009D for ; Thu, 30 May 2013 06:35:32 -0400 (EDT) From: Pietro Paolini Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: VIMAGE Message-Id: Date: Thu, 30 May 2013 12:35:31 +0200 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) 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=1369910133; bh=RD51fm7cPau5OnF9LsPzf1XS2C0aqc1ENsYydOf+AK0=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=ThwQ4r0xBrOrwMt4U+7cAeD2KQkp/JET2w1mzIX3CvbFWJ9qckHCPiq6hnbZV760z rtffM2QFD+8sbcladBNq2ZYO58aHljK3yxL9TkV3JfsNkwlAYhSF7cbbc+4/052z7B VSQnmgUDTI0ksHqBThpCmM+vUV7vVUGLp9jaGd5w= X-AOL-SCOLL-SCORE: 0:2:389047104:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d338451a72b742cef X-AOL-IP: 78.108.141.145 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: Thu, 30 May 2013 10:35:40 -0000 Hello all, 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 and I removed STCP then I recompiled my kernel and install it. 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: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet = from the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not = receive the answers (which are send, I verified it from wireshark), in = adding the ARP request for his IP address (if I try to add it statically) are = not received then it can not answer. At the end of the line the question is: how can I make this "virtual = network" and the external real network be able to communicate ? Thanks in advance. Pietro.