internet access

Iam having problems configuring internet access in Solaris 10? i populated the /etc/defaultrouter file with the gateway address, the /etc/resolv.conf file with the dns server addresses using the "nameserver" keyword. And still its not working. HOW to solve this problem.
[284 byte] By [UnixAdmina] at [2007-11-26 17:44:41]
# 1
Define "not working". Can't resolve DNS names, or can't contact IP addresses?
DoxBriana at 2007-7-9 0:12:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Also, check /etc/nsswitch.conf to see if you have the following lines configured properly:

# You must also set up the /etc/resolv.conf file for DNS name

# server lookup. See resolv.conf(4).

hosts:files dns

# Note that IPv4 addresses are searched for in all of the ipnodes databases

# before searching the hosts databases.

ipnodes:files dns

DoxBriana at 2007-7-9 0:12:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...