[OpenAFS-port-darwin] multi-homed ip addresses
David Botsch
dwb7@ccmr.cornell.edu
Sat, 15 Nov 2003 14:27:53 -0500
The problem is this sharing thing, most likely.
You'll need to do one of three things:
1. Don't use it and connect your computer directly to the Internet.
2. Adjust the UDP timeout settings (if it will let you do such a thing).
3. Set up port UDP 7001 to port forward to your computer on port UDP 7001.
The problem is usually this:
connections from the servers come back to you on udp 7001. So, if you're
actively doing stuff, fine, no problem. Eventually, though, if you sit idle,
the connection times out on the firewall (on a linux firewall box, the default
is something like 30 seconds... not a lot of time). So, then, the server tries
to talk to your client and it cannot. So, it marks your client as down.
What I do not understand is why when you do try to reconnect, the afs servers
don't mark your client as being back up. Whether that is a bug or a feature (I
haven't tested to see if problem still exists in the current version of
OpenAFS), I do not know.
Maybe ARLA did something to ensure that the firewall port stayed open. Dunno.
But, anyway, option 3 may be the easiest to implement (though, you may have to
get server admins to bos restart the servers for them to clear out their list
showing your client as being down). Or, just kick your firewall box and get it
to obtain a different IP address.
On Sat, Nov 15, 2003 at 07:55:33PM +0100, RD Schaffer wrote:
> Hi there,
>
> I have a adsl modem/netgear router. I *believe* that the modem is
> configured with the firewall on.
>
> [mac-88165] cmt % fs checks
> These servers unavailable due to network or server problems:
> 137.138.161.34 137.138.174.72 afs47.cern.ch.
>
> which I expect are the servers in the cern.ch cell which I am
> interested in.
>
> Do I need to remove the firewall or do some other step?
>
> thanks, RD Schaffer
>
> On 15 Nov 2003, at 19:24, David Botsch wrote:
>
> > Hrm... are you behind a firewall at home? And, what does "fs checks"
> > tell you
> > after you get the server down message?
> >
> > On Sat, Nov 15, 2003 at 10:43:46AM +0100, RD Schaffer wrote:
> >> Hi there,
> >>
> >> I have a mac portable and have been using Arla afs for about 1
> >> year.
> >> I have now upgraded to Panther and openAFS 1.2.10. Everything works
> >> fine - I have started afs at my work/lab without any problems. I am
> >> now
> >> at home and have only put my portable to sleep in transport. At first
> >> working from home I have no problems and can see the normal afs disks
> >> that I work with. Then after a number of minutes I get the message:
> >>
> >> afs: Lost contact with file server 137.138.174.72 in cell cern.ch (all
> >> multi-homed ip addresses down for the server)
> >>
> >> Then apparently I am no longer able to cache new files/dirs. All
> >> operations time out and some servers give the above message.
> >>
> >> For the past year I was working in exactly this mode with Arla with no
> >> problems. Can someone tell me what I need to do to get openAFS to be
> >> "location-independent", and what is really going on?
> >>
> >> thanks, RD Schaffer
> >>
> >> Email: R.D.Schaffer@cern.ch
> >> Address: LAL BAT 200 tel(Orsay): 33-1 64 46 8378
> >> BP 34 tel(cern) : 41-22 76
> >> 71267
> >> 91898 ORSAY
> >> France
> >>
> >> _______________________________________________
> >> port-darwin mailing list
> >> port-darwin@openafs.org
> >> https://lists.openafs.org/mailman/listinfo/port-darwin
> >
> > --
> > ********************************
> > David William Botsch
> > Consultant/Advisor II
> > CCMR Computing Facility
> > dwb7@ccmr.cornell.edu
> > ********************************
> >
> Email: R.D.Schaffer@cern.ch
> Address: LAL BAT 200 tel(Orsay): 33-1 64 46 8378
> BP 34 tel(cern) : 41-22 76 71267
> 91898 ORSAY
> France
>
>
> Email: R.D.Schaffer@cern.ch
> Address: LAL BAT 200 tel(Orsay): 33-1 64 46 8378
> BP 34 tel(cern) : 41-22 76 71267
> 91898 ORSAY
> France
>
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin
--
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************