On Thu, Feb 5, 2009 at 7:24 PM, linux007 at ymail.com <mail at belenix.org> 
wrote:
> I followed the following procedure:
> * logged in as root
>
> # svcadm disable physical:nwam
> # svcadm enable physical:default
> # cat /etc/defaultrouter
> 10.5.20.250
>
> * changed /etc/nsswitch.conf host field value from files to files dns.
>
> * Then performed
> ifconfig rge0 plumb up 10.5.20.149 netmask 255.255.255.0
>
> # svcadm enable dns/client
>
> # ping google.com
> unknown host google.com
>

   You have to add nameserver entries into /etc/resolv.conv. For eg. if
   you are using OpenDNS then these lines need to be added:

   nameserver 208.67.222.222
   nameserver 208.67.220.220

   After editing that file:
   svcadm restart name-service-cache.

   But the way you have done this the configuration won't persist across reboot.
   The detailed procedure is described here:

   
http://www.genunix.org/wiki/index.php/Belenix_FAQ#How_do_I_configure_a_static_IP_Address_and_setup_networking_.3F

Regards,
Moinak.
-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/

Reply via email to