[370] in Kerberos
Re: client name vs. client IP address.
daemon@TELECOM.MIT.EDU (Jim Bloom)
Wed Apr 20 14:11:27 1988
From: Jim Bloom <jb%cs.brown.edu@RELAY.CS.NET>
To: Bill Sommerfeld <wesommer@ATHENA.MIT.EDU>
Cc: jordan@ucbarpa.berkeley.edu, sdsu!vinge@ucsd.edu, kerberos@ATHENA.MIT.EDU
In-Reply-To: Your message of Tue, 19 Apr 88 20:32:31 EDT.
Those problem with multiply homed hosts are a real pain. When I
initially installed kerberos, I found that gethostid(2) was used
to determine the primary address. I didn't have the hostid set
and the call returned zero. The IPC worked fine, but the protocol
broke because different "addresses" were used. These problems
occured on a host with only one interface.
Using one address as primary on a multiply homed host and only
using that address may lead to problems. Communication might be
only one direction due to routing differences. At Brown, we have
a host on network 128.148 and 128.121. I have seen cases where
the route selected might go through some other machine, out to the
internet and return. Selection of the correct address by the
kernel would totally avoid the problem. For whatever reason,
the hostid might be set to the wrong interface.
Jim