people new to networking under solaris seem to wonder how to change the ip-address or hostname of a machine regularly. so here you go, this is the list of files to change when updating your network information.
for ip changes edit the following files:
- /etc/hosts
- /etc/defaultrouter
- /etc/netmasks
- /etc/inet/ipnodes (if it contains the accordant entry for your hostname)
to change the hostname of a solaris system edit these files:
- /etc/hosts
- /etc/nodename
- /etc/hostname.xyz (xyz stands for the corresponding network interface, such as bge0)
- /etc/net/ticlts/hosts (obsolete in Solaris 10)
- /etc/net/ticots/hosts (obsolete in Solaris 10)
- /etc/net/ticotsord/hosts (obsolete in Solaris 10)
- /etc/inet/ipnodes (if it contains the accordant entry for your old hostname)
you do not need to reboot your machine to apply this new information (this is unix, remember?
) – all you need is to restart the adequate service using the service management facility (smf):
svcadm restart svc:/milestone/network:default

One Trackback
[...] » solaris » most popular (fresh) 1 2 » Solaris Enterprise System solaris askwar Hinzugefügt vor 120 Tagen von askwar, 3 Benutzer,für Windows, Mac OS X, Linux und Solaris. windows mac linux tools benchmark performance solaris [»] Hinzugefügt vor 42 Tagen von smile, 1 Benutzer kopieren Blastwave.org – An OpenSolaris… solaris askwar Hinzugefügt vor 120 Tagen von askwar, 1 Benutzer kopieren 1 2 » Was kann, hat und macht Mister Wong?» [...]