Setting routing and DNS in Solaris 2.5

Routing

  Create the file /etc/defaultrouter and insert IP of default gateway

DNS

  edit /etc/nsswitch.conf and add dns to the line with hosts. Then create /etc/resolv.conf with domain $domain in the first line and nameserver $nameserver_IP in the lines below.


Valid HTML 4.01 Strict