How to configure your network on SUN Solaris 10
On SUN solaris, see that the following is present to have an operational network :
bash-3.00# more /etc/hostname.bge0
192.168.1.10
bash-3.00#
where .bge0 is the interface name
bash-3.00# more /etc/defaultrouter
192.168.1.1
bash-3.00#
your default gateway
bash-3.00# more /etc/resolv.conf
nameserver 192.168.1.1
bash-3.00#
list your nameservers
bash-3.00# more /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.1.10 springfield
bash-3.00#
add your hostname and ip to the hosts file
bash-3.00# more /etc/nsswitch.conf | grep hosts
# “hosts:” and “services:” in this file are used only if the
hosts: files dns
bash-3.00#
update your nsswitch.conf file to first look in its local host file and if not found, resolve via dns
you should now have an operational network.