From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 11:17:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6249A16A4CE for ; Mon, 28 Feb 2005 11:17:36 +0000 (GMT) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5919D43D2F for ; Mon, 28 Feb 2005 11:17:34 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-ull-137-5.41-151.net24.it [151.41.5.137]) (authenticated bits=128) by parrot.aev.net (8.13.1/8.13.1) with ESMTP id j1SBXsBn093802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Feb 2005 12:34:01 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Received: from netfence.it (xanatar.ventu [10.1.2.6]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.1) with ESMTP id j1SBKTnG038183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Feb 2005 12:20:29 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Message-ID: <4222FE1F.6060008@netfence.it> Date: Mon, 28 Feb 2005 12:18:55 +0100 From: Andrea Venturoli Organization: NetFence User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: it,en,fr,de MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <126dd6ff2a2fb1bed0f0b1e52dc42d96@nesys.it> In-Reply-To: <126dd6ff2a2fb1bed0f0b1e52dc42d96@nesys.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.45 Subject: Re: tap interface, bridging and freebsd 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 11:17:36 -0000 Andrea Riela wrote: > Hi folks, > > I would test openvpn with bridging options, then I need a tap interface. > I've compiled my kernel with > device tap > then 'kldload if_tap' via command line These are mutually exclusive: either you compile your kernel with tap or you load it as a module, not both. > but I don't see a tap interface in /dev or with ifconfig ... You won't see any network interface in /dev; just run ifconfig -a and check: you won't find any of the listed devices in /dev. > Obviously: > tcpdump -i tap0 > tcpdump: BIOCSETIF: tap0: Device not configured taps will come up when some programs activates it. Once you have openvpn correctly running, you'll see tap0 in ifconfig's output and you'll be able to run tcpdump against it. bye av.