LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-10-2005, 01:40 PM   #1
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Rep: Reputation: 15
Solaris 10. Got LAN working but not WAN.


Hello, people.
I'm currently a newbie in Solaris. So I have couple of questions.

I have a computer with Realtec AN8139 NIC. The card was detected from the beginning, so I did not have to download any extra drivers.

I also have a router (D-Link DI-514) which is connected to my adsl-modem.
I've set up a mac-filter on the router, so this Solaris-machine gets 192.168.0.100 automatically. I've managed to get this machine working in my LAN. But when I try a simple "ping google.com", I get "Host Unknown". Anyone knows how to solve this problem?

Some data:

Router info:

Netmask: 255.255.255.0
Gateway: 192.168.0.1
DHCP: 192.168.0.1
DNS: 192.168.0.1

Some network info on the machine:

# ifconfig rtls0

rtls0: flags=1000843<UP, BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.255
ether <mac-address>

# netstat -rn

http://www.deformica.com/netstat.gif
 
Old 06-10-2005, 05:18 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Your router probably haven't returned the name resolution.

populate /etc/resolv.conf and add dns to the hosts line in nsswitch.conf.
 
Old 06-10-2005, 06:10 PM   #3
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jlliagre
Your router probably haven't returned the name resolution.

populate /etc/resolv.conf and add dns to the hosts line in nsswitch.conf.
I've crossposted at forum.sun.com and got some advice. Thank you, people. The problem is now solved :-) /me wrote this from Solaris 10 x86
 
Old 06-11-2005, 03:43 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
And what was the problem's origin ?
 
Old 06-11-2005, 06:19 AM   #5
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jlliagre
And what was the problem's origin ?
My host did not have a dns set up.

I've edited two files:

/etc/resolv.conf

nameserver LOCAL_DNS_IP
nameserver ISP_DNS_IP


/etc/nsswitch.conf

hosts: files dns
 
Old 06-11-2005, 11:43 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Thanks for the feedback.

You should try to understand why your router isn't setting the dns automatically through dhcp.
 
  


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
2 routers WAN, LAN could you please tell me... microsmart Linux - Networking 5 08-06-2005 02:17 PM
Static IP's with LAN/WAN nistur Linux - Networking 3 05-25-2005 06:01 PM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 03:35 PM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 08:11 PM
LAN/WAN problems CyberNet Linux - Networking 1 11-11-2002 11:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration