[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Netatalk & atalkd



I've installed and configured Netatalk with atalkd and afpd on a sparc 5 OpenBSD 2.7-released system. The trouble i'm having is atalkd isn't responding to ATalk Ph2 Broadcast packets and no clients can find it. This i've deduced by attaching a packet analyzer (Etherpeek) to the hub.

Atalkd.conf is set to use be0 and i've tried various configurations from nothing except listing be0 as the interface (letting atalkd do its thing) to defining all parameters with -seed. The results are all the same, atalkd seems to send out appletalk packets just fine but doesn't hear broadcast packets. By the way, not having a atalkd.conf file results in a segmentation fault and core dump by atalkd.

As an example of atalkd non response: running a 'aecho 65280.216' results in a AEP Req packets addressed to the client. The client then sends AARP Req for 65280.207 (the OpenBSD be0 atalk address) which go unanswered. Running a nbplkup from OpenBSD sends out NBP LkUp packets which also results in the Mac sending back AARP's which are ignored. Opening the chooser on a Mac for Appleshare results in NBP LkUp packets going out which are also ignored.

Is this a interface configuration problem? Looking at ifconfig -m be0 shows a broadcast address the same as its host address. Shouldn't the broadcast address be 0.255?

be0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	media: Ethernet 10baseT half-duplex
	status: active
	supported media:
		media 100baseTX mediaopt half-duplex
		media 100baseTX
		media 10baseT mediaopt half-duplex
		media 10baseT
	inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::a00:20ff:fe87:59a2%be0 prefixlen 64 scopeid 0x2
	AppleTalk 65280.174 range 0-65534 phase 2 broadcast 65280.174
--


-Rickie Kerndt Santa Clara, CA kerndtr_(_at_)_kerndt_(_dot_)_com




Visit your host, monkey.org