[comp.protocols.tcp-ip] Ethernet loopback interface problem

mike@devvax.JPL.NASA.GOV (Mike Tankenson) (01/16/88)

I have a question about the loopback interface found on our Sun
workstations.  Our problem is that when we do a netstat -a, a bunch of the
following connections are formed (ie. dozens):

Active connections (including servers)
Proto Recv-Q Send-Q  Local Address      Foreign Address    (state)
tcp        0      0  loopback.2703      loopback.sunrpc    TIME_WAIT
tcp        0      0  loopback.2702      loopback.sunrpc    TIME_WAIT
tcp        0      0  loopback.2701      loopback.sunrpc    TIME_WAIT
.
.
.

These go away after awhile, but we can't figure out why they should be
there in the first place.  Here is our entry for loopback:

127.0.0.1   loopback lb localhost loghost datehost

Here's some more funny stuff.  One another Sun we have an entry of:

127.0.0.1   loghost me loopback localhost

and there's no loopback connections created during a netstat -a!  What
could be the difference?

We are running Sun OS 3.3 on our 'problem' Sun, and 3.4 on our 'good' Sun.

Thanks in advance.

--mike
-- 
Mike Tankenson                Telos/Jet Propulsion Laboratory - NASA
4800 Oak Grove Drive, Pasadena, CA.  91109            (818) 354-1447
Uucp: seismo!cit-vax!jplpro!mike
Arpa: jplpro!mike@cit-vax.ARPA -or- mike@jplpro.JPL.NASA.GOV

bzs@BU-CS.BU.EDU (Barry Shein) (01/17/88)

Netstat will report the first name on the line in the host table
(actually, the "official name" as returned by gethostbyaddr() which
will be the first name after the numeric address. See 'man gethostent'
for details.) You can change it if you like by just reordering the
names and rebuilding the yellow pages (cd /etc/yp;make).

	-Barry Shein, Boston University