LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-28-2014, 08:48 AM   #1
archer74
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Rep: Reputation: Disabled
Solaris 10 Install cannot connect to Internet


Hello everyone,

I am experiencing a technical problem that I cannot resolve with the available threads or by internet searches. This is the first time I've installed Solaris 10 on my ultra45 and I'm having an internet connectivity issue.

I'm connected to a DLINK DSL-G604T modem/router and can ping addresses both external and local addresses including the gateway and DNS but I cannot connect to the internet via the browser.

Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.1.1.245 netmask ffffff00 broadcast 10.1.1.255
        ether 0:14:4f:f:e4:b0
Code:
# cat /etc/resolv.conf
nameserver 10.1.1.1
nameserver 4.2.2.2
nameserver 8.8.8.8
Code:
# cat /etc/defaultrouter
10.1.1.1
bash-3.00#
Code:
# cat /etc/nodename
HALO
bash-3.00#
Code:
# cat /etc/inet/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
#       network-number  netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
#               128.32.0.0 255.255.255.0
#
10.1.1.0     255.255.255.0
Code:
bash-3.00# ping 10.1.1.1
10.1.1.1 is alive
bash-3.00# ping 4.2.2.2
4.2.2.2 is alive
bash-3.00# nslookup google.com
Server:         4.2.2.2
Address:        4.2.2.2#53

Non-authoritative answer:
Name:   google.com
Address: 74.125.239.100
Name:   google.com
Address: 74.125.239.98
Name:   google.com
Address: 74.125.239.102
Name:   google.com
Address: 74.125.239.96
Oddly, I can ping google.com according to
Code:
bash-3.00# ping google.com
google.com is alive
However,


Code:
bash-3.00# ping www.google.com
ping: unknown host www.google.com


Lasty, I've copied nsswitch.dns to nsswitch.conf where

Code:
hosts: files dns
Certainly a perplexing problem that I'm struggling to resolve. Any help I'd be really appreciative.
 
Old 07-28-2014, 05:53 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
It doesn't look like a Solaris issue but a DNS one.

Is www.google.com resolved by the DNS service ?
 
Old 07-29-2014, 05:23 AM   #3
archer74
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for the prompt response.

Yes, www.google.com is resolved by the DNS service assigned to 10.1.1.1 (Modem/router).

Code:
bash-3.00# nslookup www.google.com
Server:         10.1.1.1
Address:        10.1.1.1#53

Non-authoritative answer:
Name:   google.com
Address: 74.125.239.176
Name:   google.com
Address: 74.125.239.177
Name:   google.com
Address: 74.125.239.178
Name:   google.com
Address: 74.125.239.179
To add further confusion, every time I run a secession of the Mozilla or Firefox Web browser the connection now times out on some addresses (e.g. www.google.com, www.gmail.com or www.gizmodo.com.au) while others are fine.

Last edited by archer74; 07-29-2014 at 05:57 AM.
 
Old 07-29-2014, 07:33 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
What says "getent hosts www.google.com" and "ifconfig -a" ?

It might be an IPv6 routing issue so you might want to disable the IPv6 interface to see if it fix the issue.
 
Old 07-29-2014, 08:10 AM   #5
archer74
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Regarding the previous querry,

Code:
bash-3.00# getent hosts www.google.com
74.125.239.212 www.google.com
74.125.239.208 www.google.com
74.125.239.209 www.google.com
74.125.239.210 www.google.com
Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.1.1.245 netmask ffffff00 broadcast 10.1.1.255
        ether 0:14:4f:f:e4:b0
How do I identify if IPv6 is enabled? I'm positive IPv4 interface is the only one selected and thus active.
 
Old 07-29-2014, 08:22 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Try removing 10.1.1.1 from /etc/resolv.conf which return a bogus reply.
 
Old 07-29-2014, 08:56 AM   #7
archer74
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I can't believe it, the browser is actually now able to resolve addresses with ease. Legendary, thank you!

Code:
# cat /etc/resolv.conf
nameserver 4.2.2.2
nameserver 8.8.8.8
The question now is why? Would this likely be a modem/router issue?
 
Old 07-29-2014, 09:28 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
The DNS service returned a bogus reply. If it is implemented by the modem/router, that's indeed where to investigate. You should also look to your ISP DNS, assuming this is where your router takes its information from.
 
Old 07-30-2014, 09:33 AM   #9
archer74
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I did a little more investigating and came across an interesting thread that mentioned for Solaris 10 and older distributions may require the MTU/MSS interface to be reconfigured for a smaller value.

I wanted to see if my local gateway/DNS (modem/router) 10.1.1.1 was at fault. So I returned to the original resolv.conf and tried the following script

Code:
ping -s 203.173.50.151 1492
^C
PING 203.173.50.151: 1492 data bytes
----203.173.50.151 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss
Then I decreased the data packet size until the following result
Code:
ping -s 203.173.50.151 1464
^C
PING 203.173.50.151: 1464 data bytes
1472 bytes from www.iinet.net.au (203.173.50.151): icmp_seq=0. time=30.6 ms
1472 bytes from www.iinet.net.au (203.173.50.151): icmp_seq=1. time=29.5 ms
1472 bytes from www.iinet.net.au (203.173.50.151): icmp_seq=2. time=29.4 ms
----203.173.50.151 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max/stddev = 29.4/29.8/30.6/0.65
Given my modem/router has the below config could this be also a connecting reason or must sun systems with solaris 10 require an MTU of 1464 data bytes?
Code:
Dlink Router
MTU: 1400 bytes
MTU: 1492 bytes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Solaris : problem to connect internet threaderslash Solaris / OpenSolaris 18 12-14-2009 04:03 AM
Cant connect to the Internet Solaris 10 hal8000b Solaris / OpenSolaris 11 08-05-2009 02:19 AM
Solaris 10 can't connect to router and then internet the expert Solaris / OpenSolaris 2 09-11-2008 03:43 AM
Solaris won't connect to the internet srekcus Solaris / OpenSolaris 1 05-22-2005 04:15 PM


All times are GMT -5. The time now is 05:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration