Subject: Re: [netatalk-admins] routing problem
From: Bill Studenmund (skippy@macro.stanford.edu)
Date: Fri Jul 25 1997 - 14:55:27 EDT
On Fri, 25 Jul 1997, Mike Durian wrote:
> 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:
[no atalk addresses on fxp1, fxp2, ep0]
> 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:
[ok I think nbplkup]
> 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?
Yes. Get routers on these nets. You can use your FreeBSD box to be that
router.
Try something like:
fxp0 -phase 2 -net 1-1 -addr 1.1 -zone "FirstZone" -seed
fxp1 -phase 2 -net 2-2 -addr 2.1 -zone "SecondZone" -seed
fxp2 -phase 2 -net 3-3 -addr 3.1 -zone "ThirdZone" -seed
ep0 -phase 2 -net 4-4 -addr 4.1 -zone "FourthZone" -seed
Also, your FreeBSD box will now, I think, route between the nets.
Take care,
Bill
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:48 EST