[comp.sys.sun] How to get "fresh" sun to recognize internet #'s of neighbors?

daniel@bermuda.island.com (Daniel Smith) (02/20/91)

1) You set up a Sun with a new OS, say, 4.1.1

2) You have an ethernet adapter all hooked up, so your Sun is physically
   on the network

3) Now, does anyone know of a way where the new Sun could "grab" internet
   numbers (192.9.205.40, etc) of one of its neighbors?  Could etherfind
   possibly help?

The reason I ask is:  I'm going to be teaching others how to configure
some turnkey systems, and if I can put something into a shell script that
could go out and ftp/somehow get the /etc/host file from another machine
on a local network, then that would be one less question that I would have
to ask a user of the script ("what's the internet address of a another
machine on the network?").  Thanks for any leads!

[[Ed's Note: Assuming you have a host that's active on the network, you
could watch the arp cache of the Sun (ie: arp -a) and get the IP number
from there. -bdg]]

				Daniel

cpetty@sunburn.west.sun.com (Craig Petty) (03/23/91)

-----
    1) You set up a Sun with a new OS, say, 4.1.1

    2) You have an ethernet adapter all hooked up, so your Sun is physically
       on the network

    3) Now, does anyone know of a way where the new Sun could "grab" internet
       numbers (192.9.205.40, etc) of one of its neighbors?  Could etherfind
       possibly help?
------

You may be interested in the lastest SunOS 4.1.1 revision b.

It is supposed to include some automatic network configuration routines
which make it easy to configure a "fresh" sun.  I believe it is similar to
the interface on the old 386i's.  where you could just plug a new machine
into the network and have it figure out who it is / should be.