On Tue, 1 Jun 1999, Robert C. Paulsen, Jr. wrote:
> > alias tap0 ethertap
> > options tap0 -o tap0 unit=0
>
> Thanks. I figured most of this out already and it all seems to be
> working, but I do not use the "options" line above. Do you know the
> consequences of leaving this out?
If you leave them out you can only have one ethertap interface.
The -o <name> gives the loaded module <name> rather than the
default of ethertap. This is necessary because you can only have
one module with a given name loaded at once. The unit=<n> tells
the ethertap code what interface to register - otherwise it
always tries to register tap0. With the current ethertap code
you can have 16 tap<n> interfaces but each interface requires
a separate ethertap module to be loaded. Yes, someone should
fix this sometime.
> I looked at /usr/src/linux/Documentation/networking/ethertap.txt and
> /usr/src/linux/drivers/net/ethertap.c but couldn't find any reference to
> those options. Is there more documentation somewhere?
Only the definitive reference, i.e. the source. And now diald :-).
Mike
--
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: [EMAIL PROTECTED] |
| 280, Silverdale Road, Earley, | Voice: +44 118 926 6996 |
| Reading RG6 7NU ENGLAND | Work: +44 118 989 0403 |
`----------------------------------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]