Hi,
is there a way to use the ddp protocol over a tap device?
I use Mac-on-Linux (http://www.maconlinux.org) and have a running
network connetion, over eth0 or over a tap device with MASQ.
I can see other Macs in the Apple chooser if I go over eth0, but when I
use tap0 the local netatalk server can't start multicast. This is not
enabled in the ethertap driver, the following patch solve this:
--- linux-2.2.14.SuSE/drivers/net/Config.in Mon May 8 09:42:18 2000
+++ OLAF/drivers/net/Config.in Sun May 14 16:57:59 2000
@@ -23,6 +23,9 @@
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
if [ "$CONFIG_NETLINK" = "y" ]; then
tristate 'Ethertap network tap' CONFIG_ETHERTAP
+ if [ "$CONFIG_ETHERTAP" != "n" ]; then
+ bool 'Enable Multicast for tap devices' CONFIG_ETHERTAP_MC
+ fi
fi
fi
netatalk is now happy, but it can't register the atalk devices. I can
them only access via the IP address.
I use there commands to setup the tap0 device:
/sbin/ifconfig tap0 192.168.200.1 netmask 255.255.255.0 up arp
/sbin/route add -host 192.168.200.1 tap0
echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
/sbin/arp -s 192.168.200.2 FE:FD:00:00:00:00 pub
echo "1" > /proc/sys/net/ipv4/ip_forward
After mol is up and running I have to use another hw address, otherwise
MacOS tries to talk to itself.
/sbin/ifconfig tap0 down
/sbin/ifconfig tap0 multicast hw ether FE:FD:00:00:00:01 up
Now I have a IP network between Linux and MacOS.
Is there a way to enable ddp over the tap device?
Or is this not possible per definition?
Gruss Olaf
--
$ man clone
BUGS
Main feature not yet implemented...
|