Subject: [netatalk-admins] routing problem
From: Mike Durian (durian@plutotech.com)
Date: Fri Jul 25 1997 - 12:13:09 EDT
I'm very new to netatalk and AppleTalk in general. I don't know
if this is an netatalk problem or just an AppleTalk configuration
problem.
My Unix system is a FreeBSD-current system from Feb 4, 1997. After
patching atalkd to use a sockaddr_dl argument to the SIOCMULTI ioctl(2),
I was able to get netatalk to run. I was even able to communicate
to a Mac on the same subnet and access files using afpd. However,
I'm having no luck routing across multiple ethernets.
Here's my atalkd.conf before starting atalkd:
fxp0
fxp1
fxp2
ep0
After running atalkd, atalkd.conf gets modified and reads:
fxp0 -phase 2 -net 65280-65534 -addr 65280.35
fxp1 -phase 2 -net 65280-65534 -addr 0.0
fxp2 -phase 2 -net 65280-65534 -addr 0.0
ep0 -phase 2 -net 65280-65534 -addr 0.0
With atalkd running, ifconfig -a reports:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 206.168.67.137 netmask 0xffffff80 broadcast 206.168.67.255
atalk 65280.35 range 65280-65534 phase 2 broadcast 0.255
ether 00:a0:c9:48:cf:b2
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 206.168.67.1 netmask 0xffffff80 broadcast 206.168.67.127
ether 00:a0:c9:48:cf:e2
fxp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.168.67.137 netmask 0xffffff80 broadcast 10.168.67.255
ether 00:a0:c9:48:cf:aa
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.168.67.1 netmask 0xffffff80 broadcast 10.168.67.127
ether 00:a0:24:35:20:4a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
atalk 0.0 range 0-0 phase 2
And when I finally killed atalkd, it reported the following error
three times:
Jul 25 09:55:16 pluto atalkd[5168]: difaddr: Can't assign requested address
We have a very simple network setup. There is only one (sometimes two)
Apples on the fxp1 net along with an HP printer. When I change
/etc/atalkd.conf and only enable fxp1, nbplkup reports:
pluto:AFPServer 65280.188:128
pluto:netatalk 65280.188:4
pluto:Workstation 65280.188:4
Tom Goldberg:Canvas4481224630 65280.1:2
tralfamador:NUB6500001206776 65280.1:251
tralfamador: Power Macintosh 65280.1:252
tralfamador:Workstation 65280.1:4
Pluto Print:SNMP Agent 65281.128:8
Pluto Print:LaserWriter 65281.128:157
Pluto Print:LaserJet 4 Plus 65281.128:158
Pluto Print North:SNMP Agent 65281.129:8
Pluto Print North:LaserWriter 65281.129:157
Pluto Print North:LaserJet 5 65281.129:158
I'd like to start routing from some FreeBSD machines running netatalk
on the other subnets to the Macs but I just can't figure out what's
going on. Our router just won't see the other machines on the other
ethernets even if they are up and running netatalk. In fact, our
router won't even see the machines on fxp1 if fxp0 is enabled since
it doesn't seem to route anything after the first interface.
Does anybody have any suggestions for me?
mike
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:48 EST