Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 12:18:55 +0100
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: tap interface, bridging and freebsd 5.3
Message-ID:  <4222FE1F.6060008@netfence.it>
In-Reply-To: <126dd6ff2a2fb1bed0f0b1e52dc42d96@nesys.it>
References:  <126dd6ff2a2fb1bed0f0b1e52dc42d96@nesys.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4222FE1F.6060008>