The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-15-2008
Registered User
 

Join Date: Mar 2008
Posts: 8
Please Help!!!!!!!

Ok, currently my situation is I am unable to get my solaris 8 box on the Internet or communicating with my network. I had the solaris box setup for DHCP and was not getting a IP address. I then set my own IP to 192.168.0.10 which is an excluded address in my windows network. I have set a default router as 192.168.0.1 and have set the resolv.conf file domain name to the domain and name servers with the ip address of 192.168.0.2 which is my windows server ip address. I have set the nsswitch.conf file host to dns. When I do a ifconfig -a this is the result:

lo0: flags=1000849<up,loopback,running,multicast, IPV4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000

elxl0: flags=1000843<up,broadcast,running,multicast, IPV4> mtu 1500 index2
inet 192.168.0.10 netmask ffffff00 broadcast 192.168.0.255
ether 0:60:8:96:9:db
inet6 fe80::260:8ff:fe96:9db/10

Someone please shed some light this way I don't know what to do now.
Reply With Quote
Forum Sponsor
  #2  
Old 03-16-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,484
seems to be ok... maybe post all files mentioned above to check them for errors.
Reply With Quote
  #3  
Old 03-16-2008
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Also, please post your routing table

Code:
netstat -rn
Cheers,
ZB
Reply With Quote
  #4  
Old 03-16-2008
Registered User
 

Join Date: Mar 2008
Posts: 8
Please Help!!!!!!

Ok, here is all the files that I know of starting with the default router file:
192.168.0.1

nsswitch.conf file:
passwd: files
group: files
# You must also set up the /etc/resov.conf file for DNS name
# server lookup. See resolv.conf(4)
hosts: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparms: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount files
aliases: files
services: files
sendmailvars: files

resolv.conf file:
domain ins.local
nameserver 192.168.0.2
nameserver 192.168.1.254

routing table (netstat -rn:

Routing table: IPv4
Destination Gateway Flags Ref Use Interface

192.168.0.0 192.168.0.10 U 1 0 elxl0

224.0.0.0 192.168.0.10 U 1 0 elxl0

default 192.169.0.1 UG 1 0

127.0.0.1 127.0.0.1 UH 24 1999 lo0

Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If

fe80::/10 fe80::260:8ff:fe96:9db U 1 0 elxl0

ff00::/8 fe80::260:8ff:fe96:9db U 1 0 elxl0

default fe80::260:8ff:fe96:9db U 1 0 elxl0

::1 ::1 UH 1 0 lo0

Let me thank you guys for all your help Let me know if you need anything else.
Reply With Quote
  #5  
Old 03-16-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,484
i don't know about ipv6 but the rest looks fine for me... maybe disable the ipv6 config and try again without that.
Reply With Quote
  #6  
Old 03-16-2008
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
You are all over the place here.

Let's start with the basics.
First, delete resolv.conf. You don't need it right now and I doubt you have 2 DNS servers running in your home network.

Ok. So the IP address you set on the Sol8 box is 192.168.0.10, and the default route is 192.168.0.1, all masked for /24 (255.255.255.0)
The output from netstat -rn you posted shows your default route to be 182,169.0.1, whe it should be 192.168.0.1 .

The following commands are going to delete the wrong route, add the correct route, and edit the defaultrouter file, which needs to be there correctly or you'll lose your default route after a reboot.

Code:
# route delete default 192.169.0.1
# route add default 192.168.0.1 1
# echo 192.168.0.1 > /etc/defaultrouter
Verify that the default route took:
Code:
# netstat -rn
... and try pinging it:
Code:
# ping 192.168.0.1
Can you now ping your default route?
Reply With Quote
  #7  
Old 03-16-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,484
i missed the 169 in the output

@system shock
you post is even wronger "182,169.0.1" but its a typo .
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0