![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
seems to be ok... maybe post all files mentioned above to check them for errors.
|
|
#3
|
||||
|
||||
|
Also, please post your routing table
Code:
netstat -rn ZB |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
||||
|
||||
|
i don't know about ipv6 but the rest looks fine for me... maybe disable the ipv6 config and try again without that.
|
|
#6
|
||||
|
||||
|
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 Code:
# netstat -rn Code:
# ping 192.168.0.1 |
|
#7
|
||||
|
||||
|
i missed the 169 in the output
@system shock you post is even wronger "182,169.0.1" but its a typo |
||||
| Google The UNIX and Linux Forums |