Professional Web Applications Themes

tap interface, bridging and freebsd 5.3 - FreeBSD

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, but I don't see a tap interface in /dev or with ifconfig ... Obviously: tcpdump -i tap0 tcpdump: BIOCSETIF: tap0: Device not configured Could you help me? Thank you very much Regards Andrea...

  1. #1

    Default tap interface, bridging and freebsd 5.3

    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, but I don't see a tap interface
    in /dev or with ifconfig ...

    Obviously:
    tcpdump -i tap0
    tcpdump: BIOCSETIF: tap0: Device not configured

    Could you help me?
    Thank you very much
    Regards
    Andrea

    Andrea Riela Guest

  2. #2

    Default Re: tap interface, bridging and freebsd 5.3

    Andrea Riela wrote: 

    These are mutually exclusive: either you compile your kernel with tap or
    you load it as a module, not both.


     

    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.

     

    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.

    Andrea Guest

  3. #3

    Default Re: tap interface, bridging and freebsd 5.3

    On Mon, Feb 28, 2005 at 12:18:55PM +0100, Andrea Venturoli typed: 
    >
    > 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.[/ref]

    That's right; they live in /dev/net/ :
     
    rl0 plip0 lo0 tun0 ppp0 
    total 0
    crw------- 1 root wheel 253, 3 Feb 12 07:23 lo0
    crw------- 1 root wheel 253, 2 Feb 12 07:23 plip0
    crw------- 1 root wheel 253, 5 Feb 12 07:23 ppp0
    crw------- 1 root wheel 253, 1 Feb 12 07:23 rl0
    crw------- 1 root wheel 253, 4 Feb 12 07:23 tun0

    Ruben

    Ruben Guest

  4. #4

    Default Re: tap interface, bridging and freebsd 5.3

    Ruben de Groot wrote: 
    >>
    >>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.[/ref]
    >
    >
    > That's right; they live in /dev/net/ :[/ref]

    Nice to know :)
    Is this new to 5.x?
    I don't see them in a 4.11 system...

    bye & Thanks
    av.

    Andrea Guest

  5. #5

    Default Re: tap interface, bridging and freebsd 5.3

    Thank you for your answers ...

    Ruben, just a question.
    How could I check if my tap device works great or not?
    I've already tryed unlucky with tcpdump: I see nothing, even if the
    tap0 is in promiscue mode.

    Could you help my troubleshooting?
    Thanks for your support
    Regards
    Andrea

    Andrea Guest

Similar Threads

  1. Replies: 1
    Last Post: November 11th, 12:00 AM
  2. FMS on FreeBSD!
    By little-devil in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: September 19th, 04:29 PM
  3. Compile FreeBSD RELENG_5 on FreeBSD 4-STABLE
    By Brovo Karokin in forum FreeBSD
    Replies: 1
    Last Post: February 25th, 09:04 AM
  4. Does Interface Size Matter? Is my interface too complex?
    By Foo Finder in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: July 15th, 12:01 AM
  5. Can't get bridging to work on XP
    By Sean Davis in forum Windows Networking
    Replies: 0
    Last Post: July 3rd, 01:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139