From: Shaya Potter <spotter@cs.columbia.edu>
To: Peter Svensson <petersv@psv.nu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: virtual ethernet adapter?
Date: 06 Sep 2002 16:49:14 -0400 [thread overview]
Message-ID: <1031345355.8367.12.camel@zaphod> (raw)
In-Reply-To: <Pine.LNX.4.44.0209061450080.1994-100000@cheetah.psv.nu>
On Fri, 2002-09-06 at 08:53, Peter Svensson wrote:
> 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
> http://bridge.sourceforge.net/. 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.
that actually sounds more promising, but does it still involves the
program attached to the tap outputting ethernet frames. i.e. I can't
make a virtual ethernet driver with my own rules, have netfilter bind a
process to just use that adapter, and then just run the process as
normal. or am I still understating the capabilities?
thanks,
shaya potter
prev parent reply other threads:[~2002-09-06 20:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 22:04 virtual ethernet adapter? Shaya Potter
2002-09-06 6:07 ` Peter Svensson
2002-09-06 12:34 ` Shaya Potter
2002-09-06 12:53 ` Peter Svensson
2002-09-06 20:49 ` Shaya Potter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1031345355.8367.12.camel@zaphod \
--to=spotter@cs.columbia.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=petersv@psv.nu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox