On Fri, Oct 23, 1998 at 02:55:00PM +0200, Guus Sliepen wrote:

> 1. How can I setup more than one tap device?

insmod -x -o tap0 ethertap unit=0
insmod -x -o tap1 ethertap unit=1
        ...

You _must_ use the -x, or else it exports some symbol that it (apparently)
shouldn't be exporting, and the second insmod will segfault.  I think this
is a bug in ethertap, but I'm not sure.  There is definitely a modutils bug
that causes the segfault, and the maintainer is aware of it (or he was :)).

The modutils maintainer told me there is a macro you can place in ethertap.c
that has about the same effect as -x, but I'm not sure what it was or
whether it's a valid fix.

> 2. Why are ARP, ICMP and UDP packets handled perfectly but not any TCP
>    packet?

Hmm, TCP works for me.  I've only tried up to 2.1.122, but it's worked for a
long time.

Our experimental Tunnel Vision VPN (http://www.worldvisions.ca/tunnelv) uses
ethertap extensively and TCP connections work fine.

> 3. Will the ethertap device continue being supported in the future?

I sure hope so.  I don't know of any other convenient way to do the same
thing. (eg. get a packet from somewhere and inject it directly into the
network code, so that even packets to a _local_ address will work)

If there is another way, I'd like to know about it.  It doesn't sound to me
like SOCK_PACKET sockets will do the job.

Have fun,

Avery
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to