SUMMARY: SECOND LAN PORT

From: DTTS (dttsadp@orf.nctamslant.navy.mil)
Date: Wed Oct 09 1996 - 12:40:57 CDT


Sorry I am late providing a summary. I got so many responses that I will
simply say thanks to all who took the time to assist me, rather than trying
to provide kudos to each individual.

My original request was for assistance in setting up a second LAN port under
Solaris 2.5.1. During initial installation, Solaris prompted me for a
hostname and IP address for my first lan interface. The hostname was placed
in the /etc/hosts file and in /etc/hostname.le0.

To add a second interface, I simply had to create a file named
/etc/hostname.le1 which contained the IP address assigned to the second
interface (or a unique hostname from /etc/hosts associated with this IP
address). After rebooting, my second lan interface worked fine.

I was advised ifconfig is run from /etc/init.d/rootusr during the book
process. This script looks for all filenames /etc/hostname.<IFN>, where
<IFN>=the physical unit name, e.g., le1. I was advised <N>=the sbus number
into which the card is plugged. The le<N> is found by doing prtconf.
Presumably, there are interface types other than le, but the documentation
with my used system is rather limited so I am not sure what they would be
(lan card from different vendor?).

The rootusr script then configures each interface, to include "plumbing" -
setting up necessary streams. This process could also be done from the
command line rather than rebooting.

I also inquired why there were 2 ifconfig files on the system. I was advised
the bigger one is statically linked, and doesn't depend on shared libraries
being available. Statically linked utilities are necessary when recovering
from a problem that destroyed or rendered inaccessible the shared libraries.

Thanks again for the assistance.

Willis Gregory
dttsadp@orf.nctamslant.navy.mil
(757)445-2493/DSN 565-2493



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT