devices/net/ethertap.c
a bit before compiling the new kernel:
#define CONFIG_ETHERTAP_MC 1
near the top (after the #include
lines)
dev->flags|=IFF_NOARP;
in ethertap_probe()
Next, see /usr/src/linux/Documentation/networking/ethertap.txt
for
information on how to set up /dev/tap*
device nodes and activate the
ethertap interface. Under MacOS, select an IP address that is on the
virtual network and set the default gateway to the IP address of the
ethertap interface. This approach will let you access all networks
that your Linux box has access to (especially, if your Linux box has
a dial-up Internet connection and is configured for IP masquerading,
you can access the Internet from MacOS). The drawback is that you
can only use network protocols that Linux can route, so you have to
install and configure netatalk if you want to use AppleTalk. Here is
an example /etc/atalk/atalkd.conf
for a LAN:
eth0 -seed -phase 2 -net 1 -addr 1.47 -zone "Ethernet" tap0 -seed -phase 2 -net 2 -addr 2.47 -zone "Sheepnet"(the "47" is an arbitrary node number). This will set up a zone "Ethernet" (net 1) for the Ethernet and a zone "Sheepnet" (net 2) for the internal network connection of the ethertap interface. MacOS should automatically recognize the nets and zones upon startup. If you are in an existing AppleTalk network, you should contact your network administrator about the nets and zones you can use (instead of the ones given in the example above).
.rsrc
and
.finf
directories.