From owner-freebsd-questions@FreeBSD.ORG Sun Sep 27 16:42:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 153C91065672 for ; Sun, 27 Sep 2009 16:42:51 +0000 (UTC) (envelope-from sserre.bx@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 932EC8FC15 for ; Sun, 27 Sep 2009 16:42:50 +0000 (UTC) Received: by ewy5 with SMTP id 5so2272930ewy.36 for ; Sun, 27 Sep 2009 09:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=W16qTY4pHfDdnuA/iUcVtP23jY98ALqHRctgBOXQBcU=; b=JXyHH8IE9y9/CCNSBhiPoz2M1MFhvoczlwXpj4QezYyP0DS5cJ0I2iUHDsFDBBaaK2 +q9jEee9R6pUlSbypz/7EM35W7f+gKIXNP8Rv0wwL/c3vXm0hDyMghyRQWSeL93NjZqp yOS0vTcs3Cd4FAQF0sv50iR2gyzwor4jJ3kZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=v8Rs/A6uZQhGiVjEActej8DCrBwydQoxOewmuduNnRwCrYhH0thJuot+jOIgpHVWsM dYUtIWoZaRMRSQ1G1cNeXo3jRG5IlRbN/zpPLt5hNTQ+XS/KuS9Li/Sxt9r+bGgyU0/O 4XSebSGuByDYEWQ/tJeYH0wCqMWEQJR4FqHnk= Received: by 10.211.160.1 with SMTP id m1mr2100999ebo.50.1254068267206; Sun, 27 Sep 2009 09:17:47 -0700 (PDT) Received: from mentha.officinalis.lan (85-170-126-61.rev.numericable.fr [85.170.126.61]) by mx.google.com with ESMTPS id 10sm4798eyz.34.2009.09.27.09.17.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Sep 2009 09:17:45 -0700 (PDT) From: =?iso-8859-1?q?S=E9bastien_Serre?= To: freebsd-questions@freebsd.org Date: Sun, 27 Sep 2009 18:17:22 +0200 User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p2; KDE/4.3.1; i386; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909271817.22176.sserre.bx@gmail.com> Subject: tap interface problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 16:42:51 -0000 Hello, I hope somebody here known well tap interfaces on freebsd :). I try to configure virtualbox with bridge interface. Everything seams ok: # ifconfig tap0 tap0: flags=8943 metric 0 mtu 1500 ether 00:bd:4f:0a:00:00 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 # ls -l /dev/tap0 crw-rw-rw- 1 root wheel 0, 109 Sep 27 16:54 /dev/tap0 The problem is that nothing pass in the tap0 interface. tcpdump does not show any traffic when I try to connect a machine on the 192.168 network. I can ping the interface address (192.168.0.1). But without with the use of the tap itself (use of lo0): # route -n get 192.168.0.1 route to: 192.168.0.1 destination: 192.168.0.1 interface: lo0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 16384 0 Then i have a tap interface up, but i can't pass to it any traffic. Does anybody have a suggestion, or know some debugging tools to show what append? Thanks Sebovick