[lkml]   [2002]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: virtual ethernet adapter?
On 6 Sep 2002, Shaya Potter wrote:

> from what I can tell, tap just lets a programs use it, but one needs a
> user space app behind it (reading and writing to it). It doesn't seem
> to have the ability to live on the network like vmware's vmnet stuff
> does, perhaps I'm wrong and was confused by the web page.

Well, you want at program to read and write ethernet frames, don't you? To
What happens is that the operating system sees the data written by the
program as coming in over a ethernet interface, a virtual one.

To connect that interface to a real one you use the bridging code. I think
it is standard in the newer kernels. Otherwise you can download it from Create a bridge and attach both the real
ethernet card and the virtual one to it and use the resulting interface
br0 (or whatever you choose to call it) instead of the normal ethernet
interface. Your program that is attached to the "tap" will now appear as
another computer on the same ethernet segment to both your computer and
all others attachet the the segment.

Peter Svensson ! Pgp key available by finger, fingerprint:
<> ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF
Remember, Luke, your source will be with you... always...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.098 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site