Re: Netatalk routing


Subject: Re: Netatalk routing
From: Bill Studenmund (skippy@macro.stanford.edu)
Date: Sat Jun 28 1997 - 14:59:08 EDT


On Sat, 28 Jun 1997, Fernan Rodriguez Cespedes wrote:

> First, I would like to tell you that you are doing a great job. Thanks
> for giving me such a powerful tool for linux.

Just for the record, it's not just for Linux. :-) I'm using it on NetBSD.
It runs on FreeBSD, suns, ultrix, and lots more.

> After this introduction to the list, I am writing as a last
> resource. I did download the huge archive and searched for a solution
> to my problem but I found none. I have been at it for almost 12 hours
> now... literature on the appletalkk protocol is really scarce.
>
> The worst part of it is I *know* my question is really stupid because
> the problem is that I have no clue about the appletalk protocol, let
> alone routing.
>
> First, I have 2 servers with 2 ethernets each. Thay are linux
> 2.0.30. I have a backbone in one ethernet of the servers and on the
> other segment there are the client machines (now I have all the macs
> in one such segment). Now they ask me to move some macs to the other
> server. (as a matter of fact I have six servers...)
>
> My version of netatalk is 1.4b2.
>
> Here is a diagram:
>
> backbone
> ---------------------------------
> | |
> _________ _________
> | | | |
> | Server1 | | Server2 |
> | | | |
> --------- ---------
> | |
> | segment 1 | segment 2
> | |
> _________ _________
> | | | |
> | mac 1 | | mac 2 |
> | | | |
> --------- ---------
>
>
> Now, lets say the backbone is in eth0 for both servers...
>
> Note there are no routers or any other equipment.
>
> So on server1:
>
> eth0 -seed -phase 2 -net 100-110 -addr 100.227
> eth1 -seed -phase 2 -net 100-110 -addr 101.156
>
> And on server2:
>
> eth0 -seed -phase 2 -net 100-110 -addr 100.122
> eth1 -seed -phase 2 -net 100-110 -addr 102.156
>
>
> But it just won't work.

No, it won't. :-)

The net number(s) must be unique for a wire. Also, you don't really need a
range unless you have a LOT of computers. We have 200 macs living off of
one net number.

Try something like (assuming eth0 is the backbone):

eth0 -seed -phase 2 -net 100 -addr 100.1 -zone "Backbone"
eth1 -seed -phase 2 -net 101 -addr 101.1 -zone "Zone 1"

and
eth0 -seed -phase 2 -net 100 -addr 100.2 -zone "Backbone" (must match
        other backbone line, and doesn't need to be -seed if server 1 fires up
        first always)
eth1 -seed -phase 2 -net 102 -addr 102.1 -zone "Zone 2"

Take care,

Bill



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:17 EST