Re: tap interface, bridging and freebsd 5.3

From: Andrea Venturoli (ml.diespammer_at_netfence.it)
Date: 02/28/05

  • Next message: Loren M. Lang: "Re: Received mail timestamp is off by 7 hours"
    Date: Mon, 28 Feb 2005 12:18:55 +0100
    To: freebsd-questions@freebsd.org
    
    

    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.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Loren M. Lang: "Re: Received mail timestamp is off by 7 hours"

    Relevant Pages

    • Re: [PATCH] Documentation, clarify tuntap IPX example.
      ... I'll have to have a closer look at kernel x.25 next, ... The IPX example sounded similar but i couldn't ... In other words you want to allocate TUN device (not TAP) and then call ... -the kernel sends an IPX packet to tap0, it is passed to the application ...
      (Linux-Kernel)
    • Re: tap device at boot time
      ... Willy> If I load the tap kernel_module, then it is quite obvious that I want to use the tap ... tap interface, others may want to use many tap interfaces. ... The xl is physical interface, ... Willy> much different from the handling of a normal NIC? ...
      (freebsd-stable)
    • Re: Question about bridging code
      ... I tried writing a simple program to use tap. ... I have the bridge setup ... And I ran this quick test program that I wrote: ... to the tap interface via ifconfig. ...
      (freebsd-net)
    • Re: Touchpad crippled under kernel 2.6.11-1.14
      ... yeah its slow but you can get the tap as click to work if you ... repeatedly press very fast. ... > fine in 2.6.10-1.770 and prior releases of the kernel. ...
      (Fedora)