Solaris 10 X86 no internet connexion

Hi,

Just after installation, Mozilla 1.7 cannot access internet :

The interface e1000g0 works (ping, scp, ssh in both directions)

Is it a configuration problem ? Help should be appreciated.

# mozilla -debug

IP ADDRESS: e1000g0 = xx.xx.49.12

...

DNS DOMAINNAME: not configured for DNS

ETHERNET ADDRESS: unknown

# ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1

inet 127.0.0.1 netmask ff000000

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

inet xxx.xxx.49.12 netmask ffffff00 broadcast xxx.xxx.49.255

ether 0:15:c5:87:7a:2c

#dladm show-link

e1000g0 type : non-vlan mtu : 1500p閞iph閞ique : e1000g0

# netstat -nr

Routing Table: IPv4

DestinationGatewayFlags RefUseInterface

-- -- -- --

xxx.xxx.49.0 xxx.xxx.49.12U 112 e1000g0

224.0.0.0xxx.xxx.49.12U 10 e1000g0

default xxx.xxx.49.1 UG10

127.0.0.1127.0.0.1UH4156 lo0

# traceroute www.google.fr

traceroute: unknown host www.google.fr

Message was edited by:

pat-sun-scrn

[1180 byte] By [pat-sun-scrn] at [2007-11-26 11:02:15]
# 1
to access internet you must configure the dns server on your sun. have the dns server entry in /etc/resolv.conf
kcm at 2007-7-7 3:15:59 > top of Java-index,General,Network Configurations...
# 2
Yes, I checked /etc/inet/ files and created /etc/resolv.conf domain [my.domain]nameserver xxx.xxx.10.1nameserver .../etc/defaultdomain[my.domain]In fact, solaris is 10 6/06 and the server is a dell PE1800 (Xeon)
patsunscrn at 2007-7-7 3:15:59 > top of Java-index,General,Network Configurations...
# 3
/etc/defaultdomain does not affect DNS settings. It's for NIS.Does 'nslookup' work to resolve addresses?Have you added DNS to /etc/nsswitch.conf?-- Darren
Darren_Dunham at 2007-7-7 3:15:59 > top of Java-index,General,Network Configurations...
# 4

Thank you for information about /etc/defaultdomain

nslookup and dig resolve adresses :

# nslookup arp

Server: xxx.xxx.10.1

Address:xxx.xxx.10.1#53

Name:arp.[my.domain]

Address: xxx.xxx.49.39

but I didn't change the default /etc/nsswitch.conf

and that was the problem.

I copied nsswitch.dns in nsswitch.conf

and it works now.

Thank you a lot Darren, for your help

Patrice

patsunscrn at 2007-7-7 3:15:59 > top of Java-index,General,Network Configurations...