Yes, /etc/nodename
stores the system's basic idea of its own name.
/etc/hostname.<interface>
configures the network interface of that name; Solaris during boot-time enumerates those files and configures each interface based on information in there. If you use names, rather than numeric IP addresses, in those files they must be defined in /etc/hosts
. What's in each file is put into an ifconfig <interface> <parameters>
command. By default it's just an IP address or a domain name, and the defaults are taken for things like netmask (from /etc/inet/netmasks
.) However, you can place things like netmasks, MTUs, etc. directly in those files, though it's not best practices to do so if there's a better method.
DHCP is configured for an interface if there's a /etc/dhcp.<interface>
file. If you don't want DHCP any more, get rid of them.
Default route is set in /etc/defaultrouter
. NIS domain, if used, is in /etc/defaultdomain
, with ancillary configuration in /var/yp
.
Name service priority is set in /etc/nsswitch.conf
, but if you're not using NIS or LDAP or whatever, you probably don't have to change it. DNS configuration is in the standard UNIX location of /etc/resolv.conf
.
If you're running IPv6 there's more, but I took the assumption you weren't.