How to connect Solaris 10 to the internet ?!

ive installed a fresh copy of solaris 10 on a E3500 Server machine, i gave it a static IP address , 192.168.1.15 its a test server in our office (small office) we are using LINKSYS as our internet router and DHCP as well .. its IP is 192.168.1.1 and ive added this IP as Default route on the server , also the netmask which is 255.255.255.0 .. but i cant connect to the internet , i dont know y ?

i even tried to give the server dynamic IP address by DHCP and it couldn't connect as well ...

advise plz

P.S. the server is accessable through network .. the problem is in internet only !!

Make sure that /etc/defaultrouter contains the IP address of (you guessed it) your default router.

its there

the defaultrouter has the desired IP address

can u think in any other thing ?

thanks anyways

Hmmm...not really. But post the output from:
ifconfig -a
netstat -nrv

bash-3.00# netstat -nrv

IRE Table: IPv4                                                                 
  Destination             Mask           Gateway          Device Mxfrg  Rtt  Red
-------------------- --------------- -------------------- ------ ----- ----- ---
192.168.1.0          255.255.255.0   192.168.1.15         hme0    1500*    0   0
224.0.0.0            240.0.0.0       192.168.1.15         hme0    1500*    0   0
default              0.0.0.0         192.168.1.1                  1500*    0   0
127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*    0   0

bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 inde1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.15 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:20:9b:f2:8c

any suggestions ?

The output from netstat was truncated. You need a window 100 characters wide. But the important fields were there and it looks good. Can you ping that default router? If so, I would suspect your linksys thing. Does it need a setting to let you out?

i can ping the default router and i can ping the hotmails IP for an example ..

ping 212.162.1.124 , only ip ping not name ping

and i cant browse using the web browser

Um, you can ping 212.162.1.124 from 192.168.1.15, but you can't access the internet? You lost me there. I think you just have a broken browser. And check /etc/resolv.conf and /etc/nsswitch.conf.

i said the browser cant open a page dude ..

pinging the hotmails IP is not useful , i added our ISP's IP in the resolv.conf , but the nsswitch.conf .. what to do with it ?

so you are able to ping hosts on the Interenet? then your connection is fine, it's name resolution that's not working. check the following files:

/etc/resolv.conf

make sure you have a correct "nameserver" entry in it, e.g.

nameserver 10.0.2.3

also check /etc/nsswitch.conf, make sure you have an entry similar to:

hosts: files dns

Hope this helps.