You will need the following values for the network setup. Example given in parentheses:
IP address of machine (10.20.30.10)
Name of machine (mach)
Domain of network (realfast.com)
Gateway IP (10.20.30.1)
Subnet Mask (255.255.255.0)
Domain Name Server DNS (10.20.2.100, 10.20.2.101)
Search Suffixes (realfast.com, muchfaster.com, realslow.com)
interface is the ethernet device name of the network card: Sun Ultra: hme0, hme1, .. (= Happy Meal), Sun Blade: eri, x86 machines (e.g.): elxl0, elxl1, .. These device names can be found under /dev . Digits following these names refer to different physical boards, e.g. hme0 is the on-board ethernet, while hme1 may be an add-on card.
This file contains either the host name or the IP address for the network interface:
10.20.30.10 For any additional network interfaces, a separate hostname file must be created with its own unique IP address, e.g. /etc/hostname.hme1
The second line allows the machine name mach to be used instead of the full name mach.realfast.com.
The third line is required for logging purposes. Some processes require access to the machine named loghost, which in the case of this setup is this very machine.
For any additional IP address that this machine uses, for example on a second ethernet controller, appropriate entries must be made in this file, specifically the second line.
Other IP addresses and names not used by this machine can be made in the hosts file for quick (or forced) name resolving, e.g.:
220.127.116.11 www.google.com google
This file specifies the order in which lookups for hostnames, files, usernames, passwords, etc. are performed. On a stand-alone machine, these lookups are restricted to local files and dns, whereas in a NIS network of computers, the lookup is performed in nis and files.
For local files only: