Solaris TCP/IP configuration
Sepcifying IP address
Enabling DNS
resolution
Specifying DNS Servers
Specifying Gateway
More information
How do I specify my IP address?
-
Start xedit (or another text editor)
-
Open the /etc/inet/hosts file
-
It must have the following lines:
-
127.0.0.1 localhost
-
123.123.123.125 yourhostnameandipaddress
How do I enable
DNS domain name resolution?
-
Start xedit (or another text editor)
-
Open the /etc/nsswitch.conf file
-
In the line that reads: "hosts: file", replace it with "hosts:
dns
file"
-
Save the file.
How do I specify my DNS servers?
-
Start xedit (or another text editor)
-
Open the /etc/resolv.conf file
-
Add the following lines:
-
domain yourdomainhere.com
-
nameserver 123.123.123.123
-
nameserver 123.123.123.124
-
You can add upto 3 nameservers in this file
-
Save the file.
How do I specify my gateway?
-
Start xedit (or another text editor)
-
Open the /etc/defaultrouter file
-
Add a single line containing the ip address of your network gateway.
More information
How do I start the Answerbook server?
Load the CDROM with the solaris documentation server. Open
the CDROM folder. Double click on the "ab2cd" icon and that should bring
it right up.
Where in the Answerbook do I find more information?
Once the Answerbook server is started, load HotJava and point
it to: http://localhost:8888/
This should bring the answerbook webpage up. Then goto the "Network
Admin Book", then goto the "TCP/IP Configuration Files".
Nazmul Idris.